I copied a project from an XP machine, where everything worked fine, over to a windows 7 machine, where I have the following errors:
1>client : error PRJ0007 : Could not create output directory 'c:\users\phild\documents\visual studio 2005\projects\gex\client\ c:\users\phild\documents\visual studio 2005\projects\gex\client\debug'.
1>LINK : fatal error LNK1201: error writing to program database 'c:\users\phild\documents\visual studio 2005\projects\gex\client\ c:\users\phild\documents\visual studio 2005\projects\gex\client\debug\client.pdb'; check for insufficient disk space, invalid path, or insufficient privilege
In actual fact the 'debug' folder has been created by an earlier pass of the compiler and several v80.obj's have been added and other files as well.
At some point the compiler decides it cannot create the debug folder and later the linker decides it cannot write to the pdb.
If I create a separate standalone project and write some test piece of code, then all works fine.
I've tried this starting Visual Studio as admin. Still fails.
I've tried both VS2005 and VS2008, with exactly the same issue.
There is several hundred gig of free space.
I can delete the debug folder and it will be created, files added, but then fail as above, so it is not a permissions issue.
I've moved everything to a folder right off of c:; same issues. so it is not some pathing issue.
I've stopped and started Visual Studio, rebooted etc... still fails.