Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Vs 2013 - The name 'Html' does not exist in the current context.

$
0
0

I'm using Microsoft Visual Studio 2013 professional on a windows 10 laptop and I am seeing an error in all my razor views. The error says the name 'X' does not exist in the current context e.g. The name 'Html' does not exist in the current context.<br>
<br>
From searching the internet for solutions I have tried the following but still not fixed<br>
<br>
Run visual studio repair form control panel (uninstall programs)<br>
Run Windows update<br>
Checked that the references are set to copy local<br>
Deleted my .suo file, cleaned and rebuilt<br>
Tried fully qualified namespaces<br>
<br>
Can anyone suggest anything else apart from uninstalling and then reinstalling? Despite these errors in my views the application will still build and run in the browser with no ysod.<br>

I've asked here to https://stackoverflow.com/questions/44605742/visual-studio-2013-the-name-x-does-not-exist-in-the-current-context

<br>
Thanks Paul

Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>