So, i’m developing my razor macroscripts in Visual studio for my Umbraco project.
Everything is working fine, but there are two things really annoying.
- If I want to make a new CSHTML file the best solution for this is to duplicate an existing file.
- I dont have full razor IntelliSense like e.g. Html.Raw
Is there a way to configure my project to use this features? Didn’t find a .cshtml template yet.
You need to have the MVC Framework installed, then when you open the project as a website, you should be able to create and edit cshtml files with syntax highlighting. See my answer to the following post for more details:
Setting up local development environment for Umbraco