runtime: Build: System.Net.Http uap build missing S.S.C.OpenSsl

From the build log,

E:\Programming\csharp7\corefx\.dotnet\sdk\2.1.401\Microsoft.Common.CurrentVersion.targets(2110,5): 
warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Security.Cryptography.OpenSsl". 
Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [E:\Programming\csharp7\corefx\src\System.Net.Http\src\System.Net.Http.csproj]

The build config looks ok, it’s trying to include this for uap netcoreapp and netcoreappaot so it’s likely that the OpenSSL binary isn’t being produced for uap.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

BTW @Wraith2 if you want to have a faster, lighter binlog, in the all configurations leg, once you have a repro you can build an individual project for all configurations and produce a binlog file – something like:

dotnet msbuild src\System.Net.Http\src\System.Net.Http.csproj /t:RebuildAll /p:BuildAllConfigurations=true /bl

/bl is the magic trick to produce a binlog, the default name will be msbuild.binlog and will be created in the folder where you ran the command from.

Thanks, Santi