Skip to content

Commit

Permalink
Support building with VS2015/19
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Mar 10, 2020
1 parent f3487c3 commit 81f9e01
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions CefSharp.BrowserSubProcess.NetCore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,33 @@
<IntDir>obj\$(Platform)\$(Configuration)\</IntDir>
<ProjectName>CefSharp.BrowserSubProcess.NetCore</ProjectName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)'=='15.0'">v141</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)'=='16.0'">v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<TargetName>$(ProjectName).win-x86</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<TargetName>$(ProjectName).win-x86</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<TargetName>$(ProjectName).win-x64</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<TargetName>$(ProjectName).win-x64</TargetName>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: Visual Studio 2017
image: Visual Studio 2015

version: 1.0.0-CI{build}

Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param(
[ValidateSet("vs2015", "vs2017", "vs2019", "nupkg-only")]
[Parameter(Position = 0)]
[string] $Target = "vs2017",
[string] $Target = "vs2015",
[Parameter(Position = 1)]
[string] $Version = "1.0.0",
[Parameter(Position = 2)]
Expand Down

0 comments on commit 81f9e01

Please sign in to comment.