|
1 |
| -<?xml version="1.0" encoding="utf-8"?> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 |
|
4 | 4 | <PropertyGroup>
|
5 | 5 | <VisualStudioProductVersion>2013</VisualStudioProductVersion>
|
6 | 6 | <VisualStudioProductVersion Condition="'$(VisualStudioVersion)'=='14.0'">2015</VisualStudioProductVersion>
|
| 7 | + <VisualStudioProductVersion Condition="'$(VisualStudioVersion)'=='15.0'">2015</VisualStudioProductVersion> |
7 | 8 |
|
8 | 9 | <PlatformToolset>v120</PlatformToolset>
|
9 | 10 | <PlatformToolset Condition="'$(VisualStudioVersion)'=='14.0'">v140</PlatformToolset>
|
| 11 | + <PlatformToolset Condition="'$(VisualStudioVersion)'=='15.0'">v140</PlatformToolset> |
| 12 | + |
| 13 | + <CefSharpBrowserSubprocessPostBuildEvent> |
| 14 | + <![CDATA[ |
| 15 | +if $(PlatformName) == x86 ( |
| 16 | + "$(DevEnvDir)..\..\VC\bin\editbin" /largeaddressaware /TSAWARE "$(TargetPath)" |
| 17 | + call "$(DevEnvDir)..\Tools\vsvars32.bat" |
| 18 | + sn -R "$(TargetPath)" "$(ProjectDir)..\CefSharp.snk" |
| 19 | +) else ( |
| 20 | + "$(DevEnvDir)..\..\VC\bin\amd64\editbin" /TSAWARE "$(TargetPath)" |
| 21 | +) |
| 22 | +]]></CefSharpBrowserSubprocessPostBuildEvent> |
| 23 | + |
| 24 | + <CefSharpBrowserSubprocessPostBuildEvent Condition="'$(VisualStudioVersion)'=='15.0'"> |
| 25 | + <![CDATA[ |
| 26 | +if $(PlatformName) == x86 ( |
| 27 | + call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars32.bat" |
| 28 | + editbin /largeaddressaware /TSAWARE "$(TargetPath)" |
| 29 | + sn -R "$(TargetPath)" "$(ProjectDir)..\CefSharp.snk" |
| 30 | +) else ( |
| 31 | + call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars64.bat" |
| 32 | + editbin /TSAWARE "$(TargetPath)" |
| 33 | +) |
| 34 | +]]> |
| 35 | + </CefSharpBrowserSubprocessPostBuildEvent> |
10 | 36 | </PropertyGroup>
|
11 | 37 |
|
12 | 38 | </Project>
|
0 commit comments