Vista & Visual Studio 2005 SP1 build issues

Hi all,

The problem im about to describe occours with both the normal "Visual Studio 2005 SP1" and the new "Visual Studio beta Vista SP1 patch".
EAC is enabled and Visual Studio is being run as Administrator.

When building my C/C++ project i get the following errors:

[code]
4> Rebuild All started: Project: transition-fade_cont_bri, Configuration: Debug Win32
4>Deleting intermediate and output files for project 'transition-fade_cont_bri', configuration 'Debug|Win32'
4>transition-fade_cont_bri : error PRJ0008 : Could not delete file 'd:\.....\source\build\debug_int\RSP0001052708772.rsp'.
4>Make sure that the file is not open by another process and is not write-protected.
4>transition-fade_cont_bri - 1 error(s), 0 warning(s)
5> Rebuild All started: Project: transition-fade_cont, Configuration: Debug Win32
5>Deleting intermediate and output files for project 'transition-fade_cont' configuration 'Debug|Win32'
5>transition-fade_cont : error PRJ0008 : Could not delete file 'd:\.....\source\build\debug_int\RSP0001052708772.rsp'.
5>Make sure that the file is not open by another process and is not write-protected.
5>transition-fade_cont - 1 error(s), 0 warning(s)
6> Rebuild All started: Project: transition-wipe_right, Configuration: Debug Win32
6>Deleting intermediate and output files for project 'transition-wipe_right', configuration 'Debug|Win32'
6>transition-wipe_right : error PRJ0008 : Could not delete file 'd:\.....\source\build\debug_int\RSP0001052708772.rsp'.
6>Make sure that the file is not open by another process and is not write-protected.
6>transition-wipe_right - 1 error(s), 0 warning(s)
2>Microsoft Browse Information Maintenance Utility Version 8.00.50727
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Could not delete temporary file. Make sure that you do not have it open and that the file is not protected.
2>
2>Could not delete temporary file. Make sure that you do not have it open and that the file is not protected.
2>
2>Could not delete temporary file. Make sure that you do not have it open and that the file is not protected.
2>Build log was saved at "file://D:\........\source\build\debug_int\BuildLog.htm"
2>data-wmi - 0 error(s), 1 warning(s)
[/code]

What needs to be done to fix this?

[2480 byte] By [MWP_au] at [2007-12-30]
# 1
Anyone?
This is holding up my applications support for Vista.
MWP_au at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 2
Bump...

I have now reinstalled Vista & Visual Studio 2005, and tried with & without SP1 and the Vista SP1 beta patch.
Exactly the same problem still happens, so this isnt a once off problem.

MWP_au at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 3
I have same problem and also don't know how to fix it.
gtim108 at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 4
I am having the same problem, when compiling in VS2003 and/or VS2005 (SP1).

This error only occurs when I build applications that are stored on a network.

If I copy the project/solution directory to my local C:\ and build, I do not encounter the above error.

It would appear that some process is using files in the DEBUG folder.

Mr_B_Burns at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 5

I have exactly the same problem.

Moreover, using 'handle' from sysinternals I can't found any open handle to the files.

I found out that VS2005 keeps some of the files locked if you have the resource editor opened.

Actually I had a resource editor opened in my project. Closing the resource editor and restarting the IDE solved the problem for me.

Hope this could be useful.

Kronecker at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 6
I have the same problem. I can code in VC++ 2005, compile, build, and run/debug, but once I debug/run the program, then make a change, I have to quit out of Visual Studio, open again then I can test the changes. It is as if the debugger is not releasing the executable for some reason until you quit VS.
DeveloperDrone at 2007-9-5 > top of Msdn Tech,Software Development for Windows Vista,General Windows Vista Development Issues...
# 7
You have a multi-processor computer and Visual Studios is trying to compile more than one file at a time. Turning this off seems to fix most things. Go to Tools -> Options -> Project and Solutions -> Build and Run. Then set maximum number of parallel project builds to 1.

Software Development for Windows Vista

Site Classified