forked from dotnet/corefx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporarily permit install of OpenSSL on windows
We don't currently have a cross-platform API for folks to use to create and RSA object https://github.com/dotnet/corefx/issues/2953, and dotnet cli doesn't yet support folks cross compiling by platform https://github.com/dotnet/cli/issues/465. As a result, this package was failing to restore when dotnet CLI switched to NuGet which will detect missing support at build time instead of allowing a file-not-found at runtime. Temporarily unblock installation of this package on Windows so that folks can consume the package until we have an x-plat API.
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
src/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\ref\System.Security.Cryptography.OpenSsl.csproj"> | ||
<SupportedFramework>dnxcore50</SupportedFramework> | ||
</ProjectReference> | ||
<ProjectReference Include="..\src\System.Security.Cryptography.OpenSsl.builds"> | ||
<AdditionalProperties>FilterToOSGroup=Linux</AdditionalProperties> | ||
</ProjectReference> | ||
|
||
<ProjectReference Include="$(NativePackagePath)\runtime.native.System.Security.Cryptography\runtime.native.System.Security.Cryptography.pkgproj" /> | ||
|
||
<!-- Opt desktop and netcore out of this package. | ||
This can be removed after we add back the RID to restict this to Unix. | ||
https://github.com/dotnet/corefx/issues/2953 --> | ||
<NotSupportedOnTargetFramework Include="netcore50" /> | ||
<NotSupportedOnTargetFramework Include="net46" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters