dotnet / dotnet/project-system
Problem when PlatformTarget is omitted from .csproj
Open
Feature-Legacy-Application-Designer
Triage-Approved
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
_This issue has a corresponding [ticket on Developer Community](https://developercommunity.visualstudio.com/content/problem/902368/problem-when-platformtarget-is-omitted-from-csproj.html). 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 ``, 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.
```xml
Exe
net472
```
- Windows 10 64bit
- Visual Studio Community 2019 Version 16.4.4
Contributor guide
Assessment
This issue has not been assessed yet.