Groups | Blog | Home
all groups > visual studio .net general > october 2005 >

visual studio .net general : Moving Web Project in VS .NET 2003



Bill Huang
10/20/2005 10:55:05 AM
Hi,

I have inherited a web project that for some reason kept getting corrupted
and moved to a different directory with an TestWeb_1, TestWeb_2, TestWeb_3 on
it. I tried to eliminate this and move it back to the directory TestWeb.

All seemed fine, but when I restart VS, I get an error when trying to add
the project to the solution:

Unable to read the project TestWeb.csproj. The system cannot find the file
specified.

When the solution loads, it shows TestWeb as unavailable. I remove it from
the solution and re-add it. All is fine and it is correctly hooked to
SourceSafe, but when I restart VS I get the same behavior.

I've looked in the registry for all references to the name, every GUID in
the csproj file, searched the disk for every occurence of the project name in
a file. I've removed all of it and the same behavior persists.

I've tried recreating a new solution and adding the code files back to it.
Same problem.

Can somebody shed some light on this??

Bill



v-garych NO[at]SPAM online.microsoft.com (
10/21/2005 6:53:42 AM
Hi Bill,

[quoted text, click to view]

First I sugget you isolate this solution from the Visual SourceSafe to have
a test.

[quoted text, click to view]

Maybe that original web project could not be recovered due to the
corruption, I think you may create a new web project and add those web page
files to the new one directly(add existing items)...


Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Bill Huang
10/21/2005 8:25:08 AM
Gary,

Thanks for the reply.

As I said in my original post, I tried to create a new solution in the same
directory after deleting all but the HTM and ASPX files and got the same
result.

In response to your suggestion about detatching the project from SS, I get
an 'Unspecified Error' when I attempt to open the Change Source Control
dialog from VS.

The only workaround I can see is to create another virtual directory in IIS
and create a new Web project there. Then add the files that you want.

This is kind of a pain and I really want to know why VS is behaving this
way. Where is the reference stored???????

Bill



[quoted text, click to view]
v-garych NO[at]SPAM online.microsoft.com (
10/22/2005 12:00:00 AM
Hi Bill,

[quoted text, click to view]

It appears that web project's VSS related configuration has also been
corruptted:(

[quoted text, click to view]

If you mean the web page files' reference and the web site reference, those
information would be stored in the project file(e.g. webapp1.csproj) and
its webinfo file(e.g. webapp1.csproj.webinfo).


Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
AddThis Social Bookmark Button