bc-csharp icon indicating copy to clipboard operation
bc-csharp copied to clipboard

Build BouncyCastle.csproj on MacOS.

Open kumbham opened this issue 5 years ago • 1 comments

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?

kumbham avatar Jun 08 '20 06:06 kumbham

You need to use the Portable version to build o n MacOS -- from here: https://github.com/novotnyllc/bc-csharp, in the netstandard branch.

clairernovotny avatar Sep 10 '20 18:09 clairernovotny