after installation of VS2022 community, i have create a new MVC core project but after creation project is not loading under solution

Shankarachary Pendota 20 Reputation points
2024-04-16T14:51:34.0333333+00:00

after installation, i have create a new MVC core project but after creation project is not loading under solution

i have tried with repair, modify and also with new instillation but no luck

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,614 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 25,706 Reputation points Microsoft Vendor
    2024-04-18T06:14:43.5866667+00:00

    Hi @Shankarachary Pendota

    Welcome to Microsoft Q&A! 

    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 

    If you can find them, please 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

    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.

     

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AgaveJoe 26,136 Reputation points
    2024-04-16T15:44:23.7133333+00:00

    The screenshot shows a solution file without projects. If you want to add a new MVC project to the solution, then right click the solution, highlight "Add" and select "New Project". If you already created a project then highlight "Add" and select "Existing Project". Then navigate to where you saved the original project and select the project file. The project file will have an .csproj extension with the name you originally provided.