You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.