How do I re-publish only items that changed in our web site using Publish option in VS 2013? I noticed that if I simply select "Publish" option, it overwrites and re-publishes
everything. There are some large files in the application site that do not change at all; so, I only want to re-publish those items that changed.
You can deploy a web project by using one-click publish or a
deployment package:
One-click publish refers to a feature in Visual Studio that lets you deploy directly from the Visual Studio IDE by clicking a button. Visual Studio connects to a destination server, copies project files to it, and performs other deployment tasks.
A web deployment package is a .zip file that contains all the information needed for deployment. You create the package from the command line or in Visual Studio, and you install it on the destination server by using the command line or IIS Manager.
In addition, before you deploy an update to an existing site, create a rollback plan so that you are able to restore the application to its original state if anything goes wrong.
Please let me know if there is anything that I can do to help.
With regards,
Angie
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
68 Points
342 Posts
How to re-publish web app using Visual Studio 2013
Aug 07, 2015 01:45 PM|mgambone|LINK
Hi,
How do I re-publish only items that changed in our web site using Publish option in VS 2013? I noticed that if I simply select "Publish" option, it overwrites and re-publishes everything. There are some large files in the application site that do not change at all; so, I only want to re-publish those items that changed.
Appreciate any assistance.
All-Star
32817 Points
3815 Posts
Re: How to re-publish web app using Visual Studio 2013
Aug 10, 2015 03:52 AM|Angie xu - MSFT|LINK
Hi,
You can deploy a web project by using one-click publish or a deployment package:
One-click publish refers to a feature in Visual Studio that lets you deploy directly from the Visual Studio IDE by clicking a button. Visual Studio connects to a destination server, copies project files to it, and performs other deployment tasks.
A web deployment package is a .zip file that contains all the information needed for deployment. You create the package from the command line or in Visual Studio, and you install it on the destination server by using the command line or IIS Manager.
In addition, before you deploy an update to an existing site, create a rollback plan so that you are able to restore the application to its original state if anything goes wrong.
Further information: Web Deployment Overview for Visual Studio and ASP.NET
Please let me know if there is anything that I can do to help.
With regards,
Angie
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
68 Points
342 Posts
Re: How to re-publish web app using Visual Studio 2013
Aug 10, 2015 08:44 AM|mgambone|LINK
Hi,
Thank you for your help. I'm using one-click publish in Visual Studio and it's working.
Again, Thanks,
Marilyn