Skip to content

Commit 7937d4d

Browse files
committed
Only call editbin /largeaddressaware for x86 configuration - probably not necessary
1 parent 4745f45 commit 7937d4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CefSharp.BrowserSubprocess/CefSharp.BrowserSubprocess.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@
105105
</ItemGroup>
106106
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
107107
<PropertyGroup>
108-
<PostBuildEvent>call "$(DevEnvDir)..\tools\vsvars32.bat"
109-
editbin /largeaddressaware $(TargetPath)</PostBuildEvent>
108+
<PostBuildEvent>if $(PlatformName) == x86 (
109+
call "$(DevEnvDir)..\tools\vsvars32.bat"
110+
editbin /largeaddressaware $(TargetPath)
111+
)</PostBuildEvent>
110112
</PropertyGroup>
111113
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
112114
Other similar extension points exist, see Microsoft.Common.targets.

0 commit comments

Comments
 (0)