Net 472 - Add AnyCPU Platform/PlatformTarget

This commit is contained in:
Alex Maitland 2021-03-16 15:23:09 +10:00
parent b7b606deec
commit 1d55d776cf
2 changed files with 17 additions and 1 deletions

View File

@ -16,11 +16,21 @@
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace> <RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Platforms>x86;x64</Platforms> <Platforms>x86;x64;AnyCPU</Platforms>
<ProjectGuid>{1D1D63D1-5257-4AA0-A284-7EF4574878CB}</ProjectGuid> <ProjectGuid>{1D1D63D1-5257-4AA0-A284-7EF4574878CB}</ProjectGuid>
<StartupObject>CefSharp.MinimalExample.WinForms.Program</StartupObject> <StartupObject>CefSharp.MinimalExample.WinForms.Program</StartupObject>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
<DefineConstants>$(DefineConstants);ANYCPU</DefineConstants>
<!--
For versions 87 and 88 specify CefSharpPlatformTargetOverride when using AnyCPU.
For versions 89 and above use PlatformTarget (CefSharpPlatformTargetOverride will also still work)
-->
<!--<PlatformTarget>AnyCPU</PlatformTarget>-->
<CefSharpPlatformTargetOverride>AnyCPU</CefSharpPlatformTargetOverride>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Remove="bin\**" /> <Compile Remove="bin\**" />
<Compile Remove="obj\**" /> <Compile Remove="obj\**" />

View File

@ -7,16 +7,22 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CefSharp.MinimalExample.Win
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64 Debug|x64 = Debug|x64
Debug|x86 = Debug|x86 Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64 Release|x64 = Release|x64
Release|x86 = Release|x86 Release|x86 = Release|x86
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.ActiveCfg = Debug|x64 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.ActiveCfg = Debug|x64
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.Build.0 = Debug|x64 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x64.Build.0 = Debug|x64
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.ActiveCfg = Debug|x86 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.ActiveCfg = Debug|x86
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.Build.0 = Debug|x86 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Debug|x86.Build.0 = Debug|x86
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|Any CPU.Build.0 = Release|Any CPU
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.ActiveCfg = Release|x64 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.ActiveCfg = Release|x64
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.Build.0 = Release|x64 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.Build.0 = Release|x64
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.ActiveCfg = Release|x86 {1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.ActiveCfg = Release|x86