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've got that solution thanks to Ligos's comment in the following discussion: https://razorgenerator.codeplex.com/discussions/459467. I do not know if it is documented somewhere, but it should.
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've got that solution thanks to Ligos's comment in the following discussion: https://razorgenerator.codeplex.com/discussions/459467. I do not know if it is documented somewhere, but it should.