jQuery-datatable-server-side-net-core
jQuery-datatable-server-side-net-core copied to clipboard
MSB3021 and MSB3027 Error
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
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
binandobjcache 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
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 + '" />');
}); `
Hi @ssahmadtijani I'll review your issue and push a new release if necessary.