C#C
C#3y ago
alex098304

❔ Creating new projects - Attach instead of Run

When I create any new C# project in Visual Studio 2022 (latest update, but cannot confirm whether the update is what broke it or not), the solution folder appears empty, and I cannot "Run" the program. It tries to get me to "Attach" instead.

When I close the project and try to open the .sln file, the project opens correctly, but it still doesn't give me "Run"

When I try to open the project from within visual studio, same issue.

When I try to open really old C# projects that I have, I get a warning saying that one or more projects in the solution were not loaded correctly.

I am not having this issue with any C++ projects. I can open old projects, create new projects, etc. and there are no issues.
image.png
Was this page helpful?
❔ Creating new projects - Attach instead of Run - C#