Reputation: 3433
While building an app that uses BouncyCastle (1.8.9), I'm getting the following warning:
/code/MyProject.csproj : warning NU1701: Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.
This happens on a Linux host. The app works without any issues. I wonder:
dotnet build
on a Linux boxUpvotes: 2
Views: 3235
Reputation: 93
You can safely replace it by the BouncyCastle.NetCore. It works like a charm for me. Assuming that the app works in Linux and it builds using the .NET Core instead of .NET Framework, which is compatible for Windows only.
Upvotes: 2