libsodium-net icon indicating copy to clipboard operation
libsodium-net copied to clipboard

Error on building project | Visual Studio 2019

Open Ahmed-Sajjad opened this issue 4 years ago • 1 comments

Hi, I recently downloaded the libsodium-net Nuget Package (v 0.10.0) to test it out on a console app. But I'm getting an error on building the project

The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\Microsoft Visual Studio\
2019\Professional\MSBuild\Current\Bin\Microsoft.Build.Tasks.vCurrent.dll". 
Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\
Current\Bin\Microsoft.Build.Tasks.vCurrent.dll' or one of its dependencies. The system cannot find the file 
specified.

Please let me know what I should do to fix this? Thanks

Ahmed-Sajjad avatar Jun 07 '21 08:06 Ahmed-Sajjad

I suggest you don't use libsodium-net because it's no longer being maintained and very out of date. libsodium-core is a fork of libsodium-net that's more up-to-date, but it's no longer being maintained either. That leaves Nsec, which doesn't expose most of the libsodium functionality (e.g. there's no password hashing). I also intend to work on a tidied up fork of libsodium-core called Geralt.

samuel-lucas6 avatar Jun 07 '21 13:06 samuel-lucas6