Visual Studio 2010 not recognisng .cshtml files

前端 未结 2 1758
感情败类
感情败类 2021-01-18 05:53

I recenetly reinstalled Visual Studio 2010 and since doing so I can not figure out how to get it to recognise .cshtml files again... I tried installing MVC 3 but it said it

相关标签:
2条回答
  • 2021-01-18 06:32

    You'll need to reinstall the Microsoft ASP.NET MVC 3 - Visual Studio 2010 tools.

    You might just be able to do a repair install of MVC 3. If that doesn't work, I'd uninstall MVC 3 (making sure it removes the tools too) and re-install them both.

    0 讨论(0)
  • 2021-01-18 06:34

    And even if you install it right, there is no support for a visual editor. It will remain in code view. However, with MVC3 and beyond, there is good support for intellisense.

    0 讨论(0)
提交回复
热议问题