Visual studio 2022 solution does not see project

oscar nilsson 0 Reputation points
2024-02-15T15:30:10.6866667+00:00

Skärmbild 2024-02-15 172603

Hi guys. How do i start a project? i have tried everthing. I just want to start so i can see the project. im new to this and i want to learn. it only says attach to a file at the green button.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,439 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,826 Reputation points Microsoft Vendor
    2024-02-16T02:14:20.9666667+00:00

    Hi @oscar nilsson, 

    Welcome to Microsoft Q&A! 

    Does the VS work before? 

    To confirm it again, please search "Edit the system environment variables" in Windows Search box > Open it > Environment Variables… > System variables > select Path > Edit… > check if there are two paths to dotnet:

    C:\Program Files\dotnet

    C:\Porgram Files (x86)\dotnet 

    You can click on the Move up button to move the entry C:\Program Files\dotnet before the x86 one. Or delete this one: C:\Porgram Files (x86)\dotnet.  

    If it doesn’t work, please try to manually download and install the latest .NET SDK with 64-bit version.

    Then, re-launch the VS2022 and create a new project to check it again.  

    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 Answers by the question author, which helps users to know the answer solved the author's problem.