Change platform from x86 to Any CPU (preferring 64 bit)

A Release-x86 configuration allows x86 Windows installers to still be created.
This commit is contained in:
Paul Chote
2019-05-22 18:00:36 +00:00
committed by abcdefg30
parent 7cf939fc68
commit 845fca25d1
14 changed files with 135 additions and 70 deletions

View File

@@ -12,12 +12,11 @@
<RootNamespace>OpenRA</RootNamespace>
<OutputPath>..</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<Platforms>x86</Platforms>
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<ExternalConsole>false</ExternalConsole>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<CodeAnalysisRuleSet>..\OpenRA.ruleset</CodeAnalysisRuleSet>
<Configurations>Release;Debug</Configurations>
<Configurations>Release;Debug;Release-x86</Configurations>
</PropertyGroup>
<ItemGroup>
<!-- Work around an issue where Rider does not detect files in the project root using the default glob -->
@@ -27,6 +26,9 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release-x86'">
<Prefer32bit>true</Prefer32bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Red Alert' ">
<StartAction>Project</StartAction>
<StartArguments>Game.Mod=ra</StartArguments>