I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.

Rishitha 0 Reputation points
2024-05-14T20:58:27.2933333+00:00

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some of the files doesn't appear in Solution explorer. I'm using version 2022.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,973 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,251 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 32,771 Reputation points Microsoft Vendor
    2024-05-15T07:26:32.6366667+00:00

    Hi @Rishitha ,

    You should open your project as a solution/project in Visual Studio.

    File>Open>Project/Solution

    Then select the .sln or .csproj file in your project folder.

    Best Regards.

    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.

    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.