Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2e10fdc

Browse files
krwqstephentoub
authored andcommitted
Fix compile assembly on netfx for crypto-xml (#19422)
* fix compile assembly on netfx for crypto-xml * Add refs
1 parent 630aa18 commit 2e10fdc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/System.Security.Cryptography.Xml/ref/Configurations.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<BuildConfigurations>
5-
netstandard
5+
netstandard;
6+
netfx
67
</BuildConfigurations>
78
</PropertyGroup>
89
</Project>

src/System.Security.Cryptography.Xml/ref/System.Security.Cryptography.Xml.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
55
<ProjectGuid>{C7266957-DB20-4250-9C2E-E1FF83EDBD71}</ProjectGuid>
6+
<IsPartialFacadeAssembly Condition="'$(TargetGroup)' == 'netfx'">true</IsPartialFacadeAssembly>
67
</PropertyGroup>
78
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Debug|AnyCPU'" />
89
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Release|AnyCPU'" />
10+
<ItemGroup Condition="'$(IsPartialFacadeAssembly)' == 'true'">
11+
<Reference Include="mscorlib" />
12+
<Reference Include="System" />
13+
<Reference Include="System.Core" />
14+
<Reference Include="System.Xml" />
15+
<Reference Include="System.Security" />
16+
</ItemGroup>
917
<ItemGroup>
1018
<Compile Include="System.Security.Cryptography.Xml.cs" />
1119
</ItemGroup>

0 commit comments

Comments
 (0)