Skip to content

Commit 1d55d77

Browse files
committed
Net 472 - Add AnyCPU Platform/PlatformTarget
1 parent b7b606d commit 1d55d77

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CefSharp.MinimalExample.WinForms/CefSharp.MinimalExample.WinForms.net472.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,21 @@
1616
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
1717
<ApplicationManifest>app.manifest</ApplicationManifest>
1818
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
19-
<Platforms>x86;x64</Platforms>
19+
<Platforms>x86;x64;AnyCPU</Platforms>
2020
<ProjectGuid>{1D1D63D1-5257-4AA0-A284-7EF4574878CB}</ProjectGuid>
2121
<StartupObject>CefSharp.MinimalExample.WinForms.Program</StartupObject>
2222
</PropertyGroup>
2323

24+
<PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
25+
<DefineConstants>$(DefineConstants);ANYCPU</DefineConstants>
26+
<!--
27+
For versions 87 and 88 specify CefSharpPlatformTargetOverride when using AnyCPU.
28+
For versions 89 and above use PlatformTarget (CefSharpPlatformTargetOverride will also still work)
29+
-->
30+
<!--<PlatformTarget>AnyCPU</PlatformTarget>-->
31+
<CefSharpPlatformTargetOverride>AnyCPU</CefSharpPlatformTargetOverride>
32+
</PropertyGroup>
33+
2434
<ItemGroup>
2535
<Compile Remove="bin\**" />
2636
<Compile Remove="obj\**" />

CefSharp.MinimalExample.net472.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,22 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CefSharp.MinimalExample.Win
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
1011
Debug|x64 = Debug|x64
1112
Debug|x86 = Debug|x86
13+
Release|Any CPU = Release|Any CPU
1214
Release|x64 = Release|x64
1315
Release|x86 = Release|x86
1416
EndGlobalSection
1517
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
1620
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.ActiveCfg = Debug|x64
1721
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.Build.0 = Debug|x64
1822
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.ActiveCfg = Debug|x86
1923
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.Build.0 = Debug|x86
24+
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|Any CPU.Build.0 = Release|Any CPU
2026
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.ActiveCfg = Release|x64
2127
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.Build.0 = Release|x64
2228
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.ActiveCfg = Release|x86

0 commit comments

Comments
 (0)