I\'ve recently upgraded to Visual Studio 2010. Now when I build projects I get a line that reads:
1> .NETFramework,Version=v4.0.AssemblyAttributes.cpp
>
I resolved this problem with the following steps:
Clean the solution
Close the solution
Type in run command %temp%
, delete all the files
Open the solution by clicking the project solution file from the folder where the project has been saved.
Do a rebuild on one of the projects. Then close Visual Studio 2010 (yes the entire development environment), and then re-open the solution file.
It seems that the rebuild, recreates the missing file, but Visual Studio doesn't notice it, so you have to close it down and re-open it for it to properly see the file again.