Controllers do not appear in Visual Studio 2022

kübra artı 20 Reputation points
2024-09-17T18:31:59.8166667+00:00

I have a project I created with ASP.Net Core on Visual Studio 2022. I also save my project on Github. When I want to add a Controller to my project content, the options do not appear and it is not available in NuGet Package. What can I do about this?

User's image

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 64,566 Reputation points
    2024-09-17T19:10:07.95+00:00

    you opened the folder, not the project. use open project, and pick the project file.

    1 person 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.