By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,649 Members | 2,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,649 IT Pros & Developers. It's quick & easy.

Trouble moving a VS project to a new location

P: n/a
RSH
Hi,

I am having a little trouble with a Visual Studio project. I moved and
existing project to a Network share and now when I go to run the project in
Debug mode I get an error saying "The operation could not be completed. The
process cannot access the file because it is being used by another process."
Then when I try to run the project again I get another error that reads
"Visual Studio could not copy a support file to this location:
'\bin\Debug\file.vshost.exe' please verify the path exists and is writable."

When I check the folder there is a copy of the vshost.file and it is marked
as read only. If I create an Archive folder and move all of the files in
the 'bin\Debug\' folder into it and then run the project again then it works
fine.

I do have the project under Sourcesafe control so I imagine that it is
setting the file to read only, but my question is, how do I remedy the
situation?

Thanks for the help,
Ron
Mar 24 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I think the problem is that you have production code under SourceSafe
control. If a file is in SourceSafe, it's going to be marked read-only
when it's checked in.
Mar 24 '06 #2

P: n/a
In my experience SourceSafe and Visual Studio 2003 are wont to interact
in this way from time to time, particularly on web projects. I've been
known to reboot to shake the bogus locks loose. If you Google around
about this I think you'll find a hotfix for VS that addresses it. I'm
not doing any current projects in this configuration so my memory of the
specifics has sort of faded.

Best,

--Bob

RSH wrote:
Hi,

I am having a little trouble with a Visual Studio project. I moved and
existing project to a Network share and now when I go to run the project in
Debug mode I get an error saying "The operation could not be completed. The
process cannot access the file because it is being used by another process."
Then when I try to run the project again I get another error that reads
"Visual Studio could not copy a support file to this location:
'\bin\Debug\file.vshost.exe' please verify the path exists and is writable."

When I check the folder there is a copy of the vshost.file and it is marked
as read only. If I create an Archive folder and move all of the files in
the 'bin\Debug\' folder into it and then run the project again then it works
fine.

I do have the project under Sourcesafe control so I imagine that it is
setting the file to read only, but my question is, how do I remedy the
situation?

Thanks for the help,
Ron

Mar 25 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.