diff options
Diffstat (limited to 'lang/mono5.10/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets')
-rw-r--r-- | lang/mono5.10/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/mono5.10/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets b/lang/mono5.10/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets new file mode 100644 index 000000000000..16ae5edd0354 --- /dev/null +++ b/lang/mono5.10/files/patch-mcs_tools_xbuild_data_14.0_Microsoft.CSharp.targets @@ -0,0 +1,25 @@ +--- mcs/tools/xbuild/data/14.0/Microsoft.CSharp.targets.orig 2017-07-20 18:10:59 UTC ++++ mcs/tools/xbuild/data/14.0/Microsoft.CSharp.targets +@@ -20,6 +20,11 @@ + <NoCompilerStandardLib Condition="'$(NoCompilerStandardLib)'==''">true</NoCompilerStandardLib> + </PropertyGroup> + ++ <PropertyGroup > ++ <SnToolExe>sn</SnToolExe> ++ <SnToolPath>$(CscToolPath)</SnToolPath> ++ </PropertyGroup> ++ + <ItemGroup> + <DocFileItem Include="$(DocumentationFile)" Condition="'$(DocumentationFile)' != ''"/> + </ItemGroup> +@@ -102,6 +107,10 @@ + ToolExe="$(CscToolExe)" + ToolPath="$(CscToolPath)" /> + ++ <Exec ++ Command="$(SnToolPath)$(SnToolExe) -R @(IntermediateAssembly) $(KeyOriginatorFile)" ++ Condition="'$(DelaySign)' == '' and '$(KeyContainerName)' == '' and '$(KeyOriginatorFile)' != '' and ( $(CscToolExe.EndsWith('csc.exe')) or $(CscToolExe.EndsWith('csc')) or $(CscToolExe) == '' )" /> ++ + </Target> + + <Target Name="CreateManifestResourceNames"> |