Source file 'Properties\AssemblyInfo.cs' could not be found

Viewed 135817

I'm running VS2010. When I open my web solution & attempt to build, the build fails with the error "CSC(0,0): error CS2001: Source file 'Properties\AssemblyInfo.cs' could not be found".

I have created Windows applications, but in different solutions.

I cannot find any reference to this file in the web solution/project.

Any help is appreciated.

6 Answers

delete the assemeblyinfo.cs file from project under properties menu and rebulid it.

Excluding the obj folder from the project (in Visual Studio), that contains the Debug & Release folders will also fix the issue.

This solved my problem. You should select Properties, Right-Click, Source Control and Get Specific Version.

Related