From @davidmatson on March 21, 2017 2:47
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net452</TargetFramework>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<AssemblyName>Testx64</AssemblyName>
</PropertyGroup>
</Project>
Expected:
64-bit assembly
Actual:
AnyCPU assembly
Current workaround is to add:
<PlatformTarget>x64</PlatformTarget>
Copied from original issue: dotnet/project-system#1804