Visual Studio 2022 Error Message When Running C# Code

Robots4Lyfe 1 Reputation point
2022-01-26T05:06:45.87+00:00

I receive the error message "the project doesn't know how to run the profile" only when trying to run C# code in Visual Studio 2022. If I run python or C++, I don't have any issues. I'm new to programming and have scoured the internet to no avail. Can anyone help me?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,648 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,312 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
971 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,831 Reputation points
    2022-01-26T06:27:00.05+00:00

    Did you see the answers from VS 2022 Preview 2: The project doesn't' know how to run the profile
    (installation of “Development tools for .NET”)

    0 comments No comments