Is there any way to do this? The razor support in ReSharper 6 is excellent, and it would be nice for the compiler to recognise razor view errors as compile time errors.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Currently, there is no way treat ReSharper errors as compile errors.
But you can enable Solution Wide Analysis and will be informed if there are any errors in solution from ReSharper.
Also, you can enable own Microsoft analysis of views during build time – look at this article http://haacked.com/archive/2011/05/09/compiling-mvc-views-in-a-build-environment.aspx