Open vsfeedback opened 4 years ago
Removing Triage markings, this wasn't assigned to anyone.
The above project shows this in the new Project Properties UI:
Looking at a design-time build, I see that PlatformTarget
is evaluated as x86
and changed to AnyCPU
in target AdjustDefaultPlatformTargetForNetFrameworkExeWithNoNativeCopyLocalItems
.
It seems we're currently getting this value from evaluation, but need it from build.
This issue has a corresponding ticket on Developer Community. Please vote and comment there to make sure your voice is heard.
This is a problem when using .NET Framework with .csproj in SDK-style.
If you omit
<PlatformTarget>
, the target platform will be displayed as "x86" in the GUI project settings, but it will be executed in 64bit.I think "AnyCPU" is the correct.