VS 2005 website publishing just the changes

Last post 11-06-2009 3:44 AM by Thomas Sun – MSFT. 2 replies.

Sort Posts:

  • VS 2005 website publishing just the changes

    11-03-2009, 10:19 AM
    • Member
      2 point Member
    • suzanars
    • Member since 08-27-2009, 2:18 PM
    • Posts 5

    Hi,

     

    I have created a new website using VS 2005.Everytime I change it I have to republish it again by deleting all the files under my ftp,because it is asking me if I want to delete the existing files if I say no it cancels the process.  I just  want to update the changes without deleting anything.I know it works for a web application but mine is a web site.Is there a way ?

     

    Any help would be really appreciated.

    Thanks

    Suzan

  • Re: VS 2005 website publishing just the changes

    11-03-2009, 10:33 AM
    Answer
    • Contributor
      5,243 point Contributor
    • DarthSwian
    • Member since 12-04-2007, 7:47 PM
    • Florida
    • Posts 1,021

    Not if you use publish, but if you use copy web site you can do that, but then your editable source files are on the site as well. Some people don't mind this and it could be beneficial for some sites that are updated frequently.

    "Hokey religions and ancient weapons are no match for a good blaster at your side."
  • Re: VS 2005 website publishing just the changes

    11-06-2009, 3:44 AM
    Answer

     Hi,

    When we use Publish utility to precompile ASP.NET website with updatable option, it enables you to make limited changes to the ASP.NET Web pages in your site after compiling them. For example, you can change the arrangement of controls, colors, fonts, and other appearance aspects of pages. You can also add controls, as long as they do not require event handlers or other code. For more information about ASP.NET Web Site Precompilation Overview, see http://msdn.microsoft.com/en-us/library/399f057w(VS.85).aspx

    When we run Publish utility, ASP.NET will generate assemblies in random name for every publishing. To update a simple file, you can enable "Use fixed naming and single page assemblies" for every publishing.  For more information about fixed name, see http://msdn.microsoft.com/en-us/library/aa992037.aspx

    In your case, I suggest you re-deploy entire website with "Use fixed naming and single page assemblies" and updatable options. So the assembly name and inherits attribute in Page directive are not changed every time.

     
    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Page 1 of 1 (3 items)