Skip to content

Commit

Permalink
Use MSBuildToolsPath instead of DevEnvDir.
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Jun 10, 2018
1 parent 36697a3 commit 3f0cb17
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ILSpy/ILSpy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,13 @@
<Copy SourceFiles="@(NuGetPackagesToCopy)" DestinationFolder="..\ILSpy.AddIn\packages" />
</Target>

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

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

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

0 comments on commit 3f0cb17

Please sign in to comment.