Its really Very Simple Answer Go through this Steps:
Unload Project
Edit Project
Than Search :
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
</Target>
below add
<Target Name="AfterBuild" Condition="'$(Configuration)'!='Debug'">
<RemoveDir Directories="$(BaseIntermediateOutputPath)" />
</Target>
That's it Than Unload Project . Build
And Check Ur Syntax Is work properly .
I am Sure.