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,467 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,711 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 27,241 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