Re: warning PRJ0009 : Build log could not be opened for writing

  • Thread starter Thread starter Russ Hawkins
  • Start date Start date
R

Russ Hawkins

Look for a file called "Debug" (it was a debug config in our case). Remove
the file and it should build for you.

HTH,

Russ

Randy said:
Hi,

Here is an interesting problem. The first time I build a project in
Microsoft Visual C++ .NET, it is successful. If I build the same
project a second or third time (without making any changes), however,
I receive the following build errors:

<project_name> : warning PRJ0009 : Build log could not be
opened for writing.
Make sure that the file is not open by another process and
is not write-protected.
<project_name> : error PRJ0006 : Could not open the temporary
file '<project_path>\Debug\RSP00000B.rsp'.
Make sure the file exists and that the directory is not
write-protected.
Compiling...
<project_name> : error PRJ0003 : Error spawning '/Od'.

These errors do not occur when I use Microsoft Visual C# .NET. These
errors do occur even when I disable Build Logging (Tools -->
Options... --> Projects --> VC++ Build --> Build Logging = No) and run
only one instance of Microsoft Visual C++.

I included some information about my environment below.

Any ideas?

Thanks,

Randy

---

Environment

* Software
- Windows 2000 Professional (Version 5.00.2195, Service Pack 3)
- Microsoft Development Environment 2002 (Version 7.0.9466)
- Microsoft .NET Framework 1.0 (Version 1.0.3705)
* Hard drive free space
- C: 267 MB
- D: 401 MB
* RAM: 164 MB

References

* Project Build Error PRJ0003
http://msdn.microsoft.com/library/en-us/vccore/html/vcerrProjectBuildErrorPRJ0003.asp
* Project Build Error PRJ0006
http://msdn.microsoft.com/library/en-us/vccore/html/vcerrProjectBuildErrorPRJ0006.asp
* Project Build Error PRJ0009
http://msdn.microsoft.com/library/en-us/vccore/html/vcerrProjectBuildErrorPRJ0009.asp
 
Tools->Options->Projects and Solutions->Build and Run -
Set 1 in the maximum number of parallel project build.
 
Back
Top