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.

Developer technologies | .NET | Other
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.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,231 Reputation points Microsoft External Staff
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.