Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-04-06 01:18:01 +0300
committerWes Haggard <Wes.Haggard@microsoft.com>2017-04-06 22:59:22 +0300
commitfac469aae0da205eb6bb6fa8a85f5129f758f384 (patch)
tree8b318cc803e3f3a8a967b6e292b3cfff679d19c5 /src/shims/shims.proj
parent0325187c9d2ef504a2adf984f94655408ec1315e (diff)
Add netfx configuration to shim project to build netstandard shim
Diffstat (limited to 'src/shims/shims.proj')
-rw-r--r--src/shims/shims.proj12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/shims/shims.proj b/src/shims/shims.proj
index 822f128c86..229c304208 100644
--- a/src/shims/shims.proj
+++ b/src/shims/shims.proj
@@ -4,13 +4,13 @@
<Target Name="GetGenFacadesInputs">
<ItemGroup>
- <NetFxContracts Include="@(NetFxReference->'$(NetFxRefPath)%(Identity).dll')">
+ <NetFxContracts Include="@(NetFxReference->'$(NetFxRefPath)%(Identity).dll')" Condition="'$(TargetGroup)' != 'netfx'">
<StrongNameSig Condition="'%(NetfxReference.StrongNameSig)' == ''">StrongName</StrongNameSig>
<StrongNameSig Condition="'%(NetfxReference.StrongNameSig)' != ''">%(NetfxReference.StrongNameSig)</StrongNameSig>
</NetFxContracts>
<NETStandardContracts Include="$(NetStandardRefPath)netstandard.dll" />
<GenFacadesContracts Include="@(NetFxContracts);@(NETStandardContracts)" />
- <GenFacadesSeeds Include="$(RefPath)*.dll" Exclude="$(RefPath)System.Private.CoreLib.dll" />
+ <GenFacadesSeeds Include="$(RefPath)*.dll" />
</ItemGroup>
</Target>
@@ -43,9 +43,13 @@
<GenFacadesCmd>$(ToolHostCmd) "$(ToolsDir)GenFacades.exe"</GenFacadesCmd>
</PropertyGroup>
- <Exec Command="$(GenFacadesCmd) -contracts:&quot;@(NetFxContracts)&quot; @&quot;$(GenFacadesResponseFile)&quot;" WorkingDirectory="$(ToolRuntimePath)" />
+ <Exec Condition="'@(NetFxContracts)' != ''"
+ Command="$(GenFacadesCmd) -contracts:&quot;@(NetFxContracts)&quot; @&quot;$(GenFacadesResponseFile)&quot;"
+ WorkingDirectory="$(ToolRuntimePath)" />
- <Exec Command="$(GenFacadesCmd) -contracts:&quot;@(NETStandardContracts)&quot; @&quot;$(GenFacadesResponseFile)&quot;" WorkingDirectory="$(ToolRuntimePath)" />
+ <Exec Condition="'@(NETStandardContracts)' != ''"
+ Command="$(GenFacadesCmd) -contracts:&quot;@(NETStandardContracts)&quot; @&quot;$(GenFacadesResponseFile)&quot;"
+ WorkingDirectory="$(ToolRuntimePath)" />
<WriteSigningRequired
Condition="'$(SkipSigning)' != 'true' and '$(SignType)' != 'oss'"