I\'m getting this strange intermitent bug in a MVC 3.0 project When I build the project sometimes I get the following error message:
Unrecognized attr
There is another workaround from Microsoft Team. See details here.
Just copy-paste this snippet into your .csproj or .vbproj file:
<_EnableCleanOnBuildForMvcViews Condition=" '$(_EnableCleanOnBuildForMvcViews)'=='' ">true
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\Package\**\*" />
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\TransformWebConfig\**\*" />
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\CSAutoParameterize\**\*" />
<_TempWebConfigToDelete Include="$(BaseIntermediateOutputPath)**\TempPE\**\*" />
This will automate the process of cleaning 'obj' folder using Build Targets.