Skip to content

Commit

Permalink
Use Microsoft.VCToolsVersion.default.props to find correct editbin.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Jun 10, 2018
1 parent 54ea34a commit 36697a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ILSpy/ILSpy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@
</ItemGroup>
<Copy SourceFiles="@(NuGetPackagesToCopy)" DestinationFolder="..\ILSpy.AddIn\packages" />
</Target>

<Import Project="$(DevEnvDir)\..\..\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.props" />

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="editbin /stack:16777216 &quot;$(TargetPath)&quot;&#xD;&#xA;EXIT 0" />
<Exec Command="&quot;$(DevEnvDir)\..\..\VC\Tools\MSVC\$(VCToolsVersion)\bin\Hostx64\x64\editbin.exe&quot; /stack:16777216 &quot;$(TargetPath)&quot;&#xD;&#xA;EXIT 0" />
</Target>
</Project>

0 comments on commit 36697a3

Please sign in to comment.