In Visual Studio 2010 why is the .NETFramework,Version=v4.0.AssemblyAttributes.cpp file created, and can I disable this?

后端 未结 6 1968
遇见更好的自我
遇见更好的自我 2020-12-15 05:45

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
         


        
6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 06:15

    I resolved this problem with the following steps:

    1. Clean the solution

    2. Close the solution

    3. Type in run command %temp%, delete all the files

    4. Open the solution by clicking the project solution file from the folder where the project has been saved.

    5. 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.

提交回复
热议问题