Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: I cannot use RazorGenerator.MVC after upgrade to MVC 5.1.2 [143]

$
0
0
If I won't edit any view I don't have any issue.

But after edit, I cannot compile my project any more:

error CS0103: The name 'Styles' does not exist in the current context
error CS0103: The name 'Scripts' does not exist in the current context

Comments: I have solved this issue by dropping a file named "razorgenerator.directives" in the root of my website folder with the following content: RazorVersion: 3

Viewing all articles
Browse latest Browse all 525

Trending Articles



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