Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jun 2002
    Location
    vancouver, BC, Br. Columbia
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Editing a solution on the server (Visual Studio 2003)

    I got my solution working on my local IIS and I used the Copy Project button in Solution Explorer to copy to the ISP that will host it on the Internet. Now I want to open it on the ISP's server, but there is no .sln file to open!

    In the same vein, I backed up the project on my hard drive using "Copy Project", but I can't open it because, again, there is no .sln file. Is there some kinda' trick?

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Editing a solution on the server (Visual Studio 2003)

    Great question, Gwenda!

    When an ASP.NET project is deployed to a web server, the only files required are the ASPX, ASCX, and DLL files (of course, any images or other supporting files are needed too). For security and efficiency reasons, any .VB, .CS, .RESX, etc. files are NOT included in the published project. This prevents web users from seeing your VB/C# source code since it's all compiled into the DLL(s).

    The idea is that you keep the original source on a development computer and use the Copy Project... command to actually deploy the final files to the server.

    If you want a backup copy of the project, just do a manual copy of the folder(s) from the WIndows Explorer.

    Hope this helps!

  3. #3
    2 Star Lounger
    Join Date
    Jun 2002
    Location
    vancouver, BC, Br. Columbia
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Editing a solution on the server (Visual Studio 2003)

    Thanks MarkJ - All the books I've read and I've never really picked up on this! Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •