Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSB3021 and MSB3027 Error #7

Open
ramazankizilkaya opened this issue Aug 5, 2020 · 3 comments
Open

MSB3021 and MSB3027 Error #7

ramazankizilkaya opened this issue Aug 5, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@ramazankizilkaya
Copy link

Hi, I want to check the project but Ican't build it. Many thanks. Here is the error:

SSeverity Code Description Project File Line Suppression State
Error MSB3027 Could not copy "C:\Users\Ramazan.nuget\packages\system.security.cryptography.protecteddata\4.5.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll" to "bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll". Exceeded retry count of 10. Failed. jQueryDatatableServerSideNetCore C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4360
Error MSB3021 Unable to copy file "C:\Users\Ramazan.nuget\packages\system.security.cryptography.protecteddata\4.5.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll" to "bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll". Could not find a part of the path 'bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll'. jQueryDatatableServerSideNetCore C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4360

@DavidSuescunPelegay DavidSuescunPelegay added the bug Something isn't working label Aug 12, 2020
@DavidSuescunPelegay
Copy link
Owner

Hi, I've been trying to solve the bug you issued, but I've not been able to reproduce it.

Please, could you try some of the tips below and, if the bug continues, you can send me screenshots or a small video and I'll research the bug more deeply:

  • Delete bin and obj cache folders
  • Clear NuGet cache
  • Clean and Rebuild the project several times
  • Try different build setups (IIS Express or custom)
  • Update your NuGet Packages using this command Update-Package -reinstall
  • Enable NuGet package restore

@ssahmadtijani
Copy link

Hi @DavidSuescunPelegay ,

I'm trying to do a multi column filter but it doesn't really perform the search. I just refreshes the table.
I've thought of capturing the column search value at the API endpoint but I don't even know where to find it.
Find my implementation below:

` $('#example').DataTable({
columnDefs: [{
"targets": -1,
"data": null,
"defaultContent": "",
"dom": 'lifrtip'
}],
columns: [
{ 'data': 'InstitutionType' },
{ 'data': 'InstitutionName' },
{ 'data': 'FileRefNo' },
{ 'data': 'OtherInstFileRefNo' },
{ 'data': 'FileTitle' },
{ 'data': 'FileDescription' },
{ 'data': 'EnteredBy' },
{ 'data': 'EnteredDate' },
{ 'data': 'AuthorizedOfficer' },

            ],
            
            "processing": true,
            "serverSide": true,
            'responsive': true,
            'destroy': true,
            "ajax": {
                "url": "../api/rfiapi/LoadRFIs",
                "type": "POST",
                contentType: "application/json",
                dataType: "json",
                data: function (d) {
                    return JSON.stringify(d);
                }
            },
            initComplete: function () {
                var api = this.api();

                // Apply the search
                api.columns().every(function () {
                    var that = this;

                    $('input', this.footer()).on('keyup change', function () {
                        if (that.search() !== this.value) {
                            that.search(this.value).draw();
                        }
                    });
                });
            }
        });

        // Setup - add a text input to each footer cell
        $('#example tfoot th').each(function () {
            var title = $(this).text();
            $(this).html('<input type="text" placeholder="Search ' + title + '" />');
        }); `

@DavidSuescunPelegay
Copy link
Owner

Hi @ssahmadtijani I'll review your issue and push a new release if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants