bc-csharp
bc-csharp copied to clipboard
Build BouncyCastle.csproj on MacOS.
I'm using the following steps to build BouncyCastle.csproj locally in MacOS
- Git clone
https://github.com/bcgit/bc-csharp.git - Run
dotnet build crypto/BouncyCastle.csproj
Dotnet build fails with the following error:
error MSB3644: The reference assemblies for .NETFramework,Version=v2.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
Could you please guide me on how to build the project using dotnet cmdline in MacOS?
You need to use the Portable version to build o n MacOS -- from here: https://github.com/novotnyllc/bc-csharp, in the netstandard branch.