Re-sign x86 assembly in post build (#1914)

This commit is contained in:
Chris
2017-02-01 07:28:03 +01:00
committed by Alex Maitland
parent 8a9b0deb60
commit c0ec00953a
@@ -80,6 +80,9 @@
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -110,6 +113,8 @@
<PropertyGroup>
<PostBuildEvent>if $(PlatformName) == x86 (
"$(DevEnvDir)..\..\VC\bin\editbin" /largeaddressaware /TSAWARE "$(TargetPath)"
call "$(DevEnvDir)..\Tools\vsvars32.bat"
sn -R "$(TargetPath)" "$(ProjectDir)..\CefSharp.snk"
) else (
"$(DevEnvDir)..\..\VC\bin\amd64\editbin" /TSAWARE "$(TargetPath)"
)</PostBuildEvent>