I have a multi project solution in Visual Studio 2008. I just added a new Configuration called Release-VersionIncrement to the solution, specifying \"use release\" configura
I had this same error message. It was caused by having a reference to a project that was unloaded and not required by the linker (otherwise it would have failed at compile time). Removing the offending reference solved the issue.