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
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