简体   繁体   中英

CSHTML file not opening in VS2013

I got a controller called " HomeController ", and when i right-click the Index function to generate a view for it, it crashes when generating an .cshtml file.

在此输入图像描述

Visual Studio 2013 is unable to open ".cshtml" file it says the following:

在此输入图像描述

I've tried the following things:

  • Opened visual studio in administrator mode and remade the whole project
  • Changed config file key versions
  • Changed the config file webpage:Version value.

Using:

  • MVC 4
  • Visual Studio 2013 Proffesional

I hope you guys can make more sense of this than me.

You might have to:

complete unistall and reinstall solved the problem for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM