why Views files and .cshtml pages make VSC not responding?

Asim qader 0 Reputation points
2023-08-03T01:41:57.22+00:00

when i try to navigate my .cshtml files in a MVC project, visual studio not responds ?

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,002 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 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,403 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 23,141 Reputation points Microsoft Vendor
    2023-08-03T06:21:56.5333333+00:00

    Hi @Asim qader

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? 

    Please end all Visual Studio processes from the task manager. 

    Then, update VS to the latest version and create a new project to verify if it persists or not. 

    You can open Developer Command Prompt for VS and run the command: devenv /safemode to run VS without any extensions, check if the installed extensions affect or not. 

    If you have any anti-virus software, please temporarily disable it. 

    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.