ASP.NET project with solution being created with nothing

Richard Soares 26 Reputation points
2022-12-16T01:05:38.5+00:00

I need help, I'm trying to create an ASP.NET Core MVC project in VS 2022, and when I create this project the solution is coming with zero files, without the structure model.

Image 1
271159-image.png

Image 2
271139-image.png

Developer technologies | Visual Studio | Other
Developer technologies | C#
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-12-16T08:18:46.493+00:00

    Hi @Richard Soares ,

    Please try to manually add the project: right-click on solution > Add > Existing Project.. > go to project folder > select “project_test.csproj” file.
    271269-image.png

    Besides, 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.

    7 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.