Error accessing VC80.idb during compilation of VC++ project

0.00 avg. rating (0% score) - 0 votes

If you’re getting the following error

Could not delete file ‘c:projectobjreleasevc80.idb
Make sure that the file is not open by another process and is not write-protected.

while building large VS solution with many VC++ projects, in a random and inconsitent manner, most likely you have just hit another Visual Studio bug. VS, by default, attempts to build multiple projects concurrently on system with multiple processors, which may cause the above error if different projects share the same IDB (VC++ Minimum Rebuild Dependency) file.

There are several solutions for this, but the simplest one would be to tell VS not to build multiple projects concurrently. To do this, open Tools>Options>Projects and Solutions>Build and Run, and set the value of Maximum number of parallel project builds to 1. However, with this method, your solution will take longer to build.

0.00 avg. rating (0% score) - 0 votes
ToughDev

ToughDev

A tough developer who likes to work on just about anything, from software development to electronics, and share his knowledge with the rest of the world.

Leave a Reply