Trouble moving a VS project to a new location

  • Thread starter Thread starter RSH
  • Start date Start date
R

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
 
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.
 
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
 
Back
Top