Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie needs to make a copy of his solution
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00814521
Message ID:
00814954
Views:
10
This message has been marked as the solution to the initial question of the thread.
Hi Mark,

Did you setup the new directory as a virtual directory through IIS? You want to make sure your .sln file has the references pointed to the correct virtual directory.

I don't have any articles to point you to that go over this step-by-step. Another approach you can take is to create a brand new project in VS.NET and the copy the web pages you want into the new directory. That way you have VS.NET take care of all the creation of the virtual directory and the basic files used. Then all you do is copy your specific files that you have created.

>Thanks Cathi
>
>I did as you said but now I get the message "Unable to get the project file from the web server"
>
>After I got this message I went to the C:\Inetpub\wwwroot\dp6\ folder and looked in it
>
>I saw some files still named dp5 so I renamed them as follows but it still made no difference,
>
>dp6.vsdisco
>dp6.vbproj.webinfo
>dp6.vbproj
>
>
>Do you know of a good step by step walkthru for copying a solution. The Microsoft example does not seem to work.
>
>
>
>
>>Hi Mark,
>>
>>You are almost there. You need to open up the .sln file in Notepad or an XML parsor and change the url to the new path. That way when you open up the project it will use the new directory.
>>
>>>Hello
>>>
>>>I need to make a copy of my ASP.Net solution with a new name.
>>>
>>>I have tried doing the copy in windows file system as follows my application was called dp5.
>>>
>>>
>>>I copied the folder
>>>c:\inetpub\wwwrott\dp5 to c:\inetpub\wwwrott\dp6
>>>
>>>
>>>I then copied the folder
>>>C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp5 to C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp6
>>>
>>>
>>>I then renamed C:\Documents and Settings\markyo\My Documents\Visual Studio Projects\dp6\dp5.sln to
>>>dp6.sln
>>>
>>>and l also did the same for dp6.suo
>>>
>>>
>>>However when I open dp6 it still references all the documents that are in dp5 :(
>>>
>>>
>>>Thanks
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform