Friday 21 June 2019

c# - MVC Application Does Not Load Correctly In Chrome In VS 2013 Ultimate

i have mvc application and i was debugging it in vs 2013 premium very well in all browsers in my old laptop, but after i installed vs 2013 ultimate on my new laptop, the application does not load correctly in chrome : it does not load css,javascripts ... but in IE it runs very well with no anyerror ...



i am using :



MVC 5.2.0 , Bootstrap 3.1.1



In Chrome's console i can see these strange errors :



enter image description here




however, i tried to :




  1. debug my application again in my old laptop and it loads well.


  2. reinstall MVC 5.2.0 and even the newer version 5.2.3 but didn't
    work.


  3. clean, rebuild the project but also didn't work.





Note : i published this web application to the web and it works very well in all browsers , so the problem is just about debugging ?.



Edit : i can see now in my views this error appears everywhere where HtmlHelpers are used :



the name 'model' does not exist in the current context



Thanks.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...