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 | 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.
Developer technologies | C#
Developer technologies | 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.
{count} votes

Answer accepted by question author
  1. Anna Xiu-MSFT 31,151 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.