VS 2005 - keeping a local copy of an ASP.NET website? (may apply more to IDE)
-
Hey guys, When i make a new web site in VS 2005 Pro, it keeps the source files in my IIS root directory. When I move my site to my server, I'd like to keep a local copy in the same folder as the solution (.sln) file. I think it was possible in VS .NET 2003, or even standard. Please let me know if anyone has run into this.. Thanks!
r -€
-
Hey guys, When i make a new web site in VS 2005 Pro, it keeps the source files in my IIS root directory. When I move my site to my server, I'd like to keep a local copy in the same folder as the solution (.sln) file. I think it was possible in VS .NET 2003, or even standard. Please let me know if anyone has run into this.. Thanks!
r -€
Hi there, Please correct if I misundertand your question. As you might already know that, with VS 2005 you are much more flexible in controlling the web site, in this case you simply use the Copy Website function to copy the whole web site from the root of IIS to the folder containing the solution file. Or you simply copy the current folder of your web site to the expected directory, then simply open it in the current solution using the File System.
-
Hi there, Please correct if I misundertand your question. As you might already know that, with VS 2005 you are much more flexible in controlling the web site, in this case you simply use the Copy Website function to copy the whole web site from the root of IIS to the folder containing the solution file. Or you simply copy the current folder of your web site to the expected directory, then simply open it in the current solution using the File System.
perhaps, but i don't think it will update both the remote project and the local one if i make changes to any of the web site files... only one of them is there a more elegant solution?
r -€
-
perhaps, but i don't think it will update both the remote project and the local one if i make changes to any of the web site files... only one of them is there a more elegant solution?
r -€
Yeah, the thing that it can do for you is to synchronize the two web sites. You can see more from here: Copying Web Sites with the Copy Web Site Tool [^] Managing ASP.NET Web Sites in Visual Studio [^]