Object reference not set to instance of an object error on Visual Studio 2013

I get this error popup in Visual Studio 2013 Pro version. I get it if I insert something into the .cshtml page while the project starts. I am currently getting it in an MVC 5 project. I'm just wondering if this is a bug for Visual Studio 2013, or I just messed up my Visual Studio. My VS is the genuine version. I also have 2010, 2012 and 2013 Express installed on my machine.

UPDATE:

I found out that this happens when I have Razor syntax in a CSS block.

enter image description here

+4
source share
4 answers

. , !

+4

. , @Url.Content(...) cshtml. ( ). @Url.Content(...), . , @..., , . : Undo/redo . , - , ( ...... ).

0

, . " ", . , , . , .cs.

0

, . .

VS , (. sln), - ( ).

0

All Articles