Adding NuGet Packages Error


I’m trying to download and use the System.Security.Cryptography.Algorithms library in my project but I keep getting this error.

Severity Code Description Project File Line Suppression State
Error Could not install package ‘System.Security.Cryptography.Algorithms 4.3.1’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v4.5.2’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0

Is System.Security.Cryptography.Algorithms not supported in TinyCLR OS?

Unfortunately no, it is not supported. While we use the .NETFramework v4.5.2 TFM (for compatibility reasons with VS), you’ll want to make sure the package you use is specifically built for use with TinyCLR OS. You can check this by seeing if it depends on GHIElectronics.TinyCLR.Core.

1 Like

Thanks John. I’m just wondering if cryptographic services are something that you guys are going to add or make compatible in the future.

It is something we will indeed be looking into in the future

1 Like