Step 1
Unload Project – Right click on project in solution explorer, select Unload Project.
Step 2
Edit Project – Right click and select ‘Edit Project and project XML will load in the editor window.
Step 3
Find false in Project XML file and change this to true.
Step 4
Save the Project XML file.
Step 5
Reload Project – Right click on the project and select ‘Reload Project’.
Now when Project compiles, views will also be compiled.