Open
Description
Visual Studio Version:
2019 (16.2.0)
Summary:
When using the new-style (CPS?) csproj but targeting .NET Framework, the default TargetPlatform is differe than either .NET Core or old-style .NET Framework csprojs (x86 rather than AnyCPU).
Steps to Reproduce:
-
File -> New -> Project -> .NET Core exe
-
Unload the csproj and replace the target framework line with:
<TargetFramework>net472</TargetFramework>
-
Releoad the project and check its properties
Expected Behavior:
Target platform in AnyCPU.
Actual Behavior:
Target platform is x86.
User Impact:
Confusing behavior when restoring NuGet packages, and inconsistency with all other C# project variants.
Metadata
Metadata
Assignees
Labels
No labels