After installing Dreamweaver CS6, the syntax highlighting of razor in visual studio 2010 removed and all of codes in my .cshtml files now is black.
How can I reset the razor syntax highlighting?
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.
Go to Tools -> Import and Export Settings. Follow the dialog and you should be able to restore your original settings.
If that doesn’t work (your default settings somehow got overwritten?) then you should be able to find a settings file online and import it. For example, this blog has an export of the VS default settings available for download: http://www.notimplementedexception.com/?page_id=14