Browse Source

MSBuild targets must use unique names.

pull/1213/head
Siegfried Pammer 7 years ago
parent
commit
b5f0b8b210
  1. 6
      ILSpy/ILSpy.csproj

6
ILSpy/ILSpy.csproj

@ -398,7 +398,7 @@
Copy them to a local folder and then include them as Content-items in the AddIn. Copy them to a local folder and then include them as Content-items in the AddIn.
(related to https://github.com/icsharpcode/ILSpy/issues/511) (related to https://github.com/icsharpcode/ILSpy/issues/511)
--> -->
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="CopyNugetPackagesToAddIn" AfterTargets="PostBuildEvent">
<ItemGroup> <ItemGroup>
<NuGetPackagesToCopy Include="$(TargetDir)System.ValueTuple.dll" /> <NuGetPackagesToCopy Include="$(TargetDir)System.ValueTuple.dll" />
<NuGetPackagesToCopy Include="$(TargetDir)System.Collections.Immutable.dll" /> <NuGetPackagesToCopy Include="$(TargetDir)System.Collections.Immutable.dll" />
@ -420,12 +420,12 @@
<PropertyGroup> <PropertyGroup>
<VCBasePath>$(MSBuildToolsPath)\..\..\..\VC\</VCBasePath> <VCBasePath>$(MSBuildToolsPath)\..\..\..\VC\</VCBasePath>
<VCToolsVersionPropsFile>$(VCBasePath)Auxiliary\Build\Microsoft.VCToolsVersion.default.props</VCToolsVersionPropsFile> <VCToolsVersionPropsFile>$(VCBasePath)Auxiliary\Build\Microsoft.VCToolsVersion.default.props</VCToolsVersionPropsFile>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCToolsVersionPropsFile)" Condition="Exists('$(VCToolsVersionPropsFile)')" /> <Import Project="$(VCToolsVersionPropsFile)" Condition="Exists('$(VCToolsVersionPropsFile)')" />
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="ApplyStackExtension" AfterTargets="PostBuildEvent">
<Exec Condition="'$(VCToolsVersion)'!=''" Command="&quot;$(VCBasePath)Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64\editbin.exe&quot; /stack:16777216 &quot;$(TargetPath)&quot;&#xD;&#xA;EXIT 0" /> <Exec Condition="'$(VCToolsVersion)'!=''" Command="&quot;$(VCBasePath)Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64\editbin.exe&quot; /stack:16777216 &quot;$(TargetPath)&quot;&#xD;&#xA;EXIT 0" />
</Target> </Target>
</Project> </Project>
Loading…
Cancel
Save