Q:

Razor highlight stopped working

I have modular MVC Portal-Plugin application. When I've changed output path of mvc application Razor highlight and intellisense stop to work in cshtml files. Can anybody faced with this issue before? I've also added post build event to copy Views into custom directory
I have main "Container" MVC application and modules (mvc projects) 
Main mvc application and modules reside in one solution
There is next options on each module MVC application:
Output Path :   ..\Container\bin\

Post build Event:   xcopy "$(ProjectDir)\Views" "..\Modules\$(ProjectName)\Views" /s /i /y

After this manipulations my Razor intelisense and highlight stop to work in module application. 

A:

I solve my problem. It was problem with output path.
I've just put default output path "bin\" and add post build event to copy my dll from this folder into another one.

A:

Solved it and blogged about it in here...
http://mhammadchehab.com/wordpress/2013/12/enabling-intellisense-for-razor-in-class-library-mvc-5-razor-3-0/
*Right Click – >Manage Nuget Packages
*Click on the installed Packages.
*Click Uninstall.
*When your done search for MVC 5 online and install the Library.
*Right click on your project and go to properties
*Select Build
*On Configuration select all configuration.
*Go to the output path and type “bin\”
*Clean your project and rebuild.
*Make sure that your cshtml file is closed.
*Reopen your view file and BOOOOOOM it works.

