Microsoft Visual Studio New Project fail

Aljoscha Riedmüller 0 Reputation points
2023-06-13T19:52:37.0466667+00:00

Hi,

I have a problem to start a new Project. When I start a new console-app, made my configuration and selected my framework the "helloworld" program is getting displayed. My solution explorer is empty though.

My second problem is that i can´t debug the programm because i have to attach a process ?!?!

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,131 Reputation points Microsoft External Staff
    2023-06-14T06:25:36.26+00:00

    Hi @Aljoscha Riedmüller

    Welcome to Microsoft Q&A! 

    Are you using the Visual Studio 2022? 

    Please check your System environment variables if there are two paths to dotnet.
    C:\Program Files\dotnet
    C:\Porgram Files (x86)\dotnet 

    If so, please delete this one: C:\Porgram Files (x86)\dotnet.
    Then, restart your computer and check if the project can be created normally. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.