Browse Source

Make editbin.exe optional. Update README.md.

pull/1176/head
Siegfried Pammer 7 years ago
parent
commit
d232642489
  1. 5
      ILSpy/ILSpy.csproj
  2. 2
      README.md

5
ILSpy/ILSpy.csproj

@ -420,11 +420,12 @@ @@ -420,11 +420,12 @@
<PropertyGroup>
<VCBasePath>$(MSBuildToolsPath)\..\..\..\VC\</VCBasePath>
<VCToolsVersionPropsFile>$(VCBasePath)Auxiliary\Build\Microsoft.VCToolsVersion.default.props</VCToolsVersionPropsFile>
</PropertyGroup>
<Import Project="$(VCBasePath)Auxiliary\Build\Microsoft.VCToolsVersion.default.props" />
<Import Project="$(VCToolsVersionPropsFile)" Condition="Exists('$(VCToolsVersionPropsFile)')" />
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec 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>
</Project>

2
README.md

@ -50,6 +50,8 @@ Windows: @@ -50,6 +50,8 @@ Windows:
- Execute `git submodule update --init --recursive` to get all required submodules.
- Use ILSpy.sln to work.
(Optional, Windows-only) Note: If you want to use the same build configuration as the build server, you will have to install `VC++ 2017 version 15.7 v14.14 latest v141 tools` (or similar) from the "Individual components" section in the Visual Studio Setup. We use `editbin.exe` to modify the stack size used by ILSpy.exe from 1MB to 16MB, because the decompiler makes heavy use of recursion, where small stack sizes lead to problems in very complex methods.
Unix:
- Check out the repository using git.
- Execute `git submodule update --init --recursive` to get all required submodules.

Loading…
Cancel
Save