Code Q & A
  • index
  • Java
  • python
  • javascript
No Result
View All Result
Code Q & A
  • index
  • Java
  • python
  • javascript
No Result
View All Result
Code Q & A
No Result
View All Result

Tell MSDeploy.exe to skip deploying a few select files in subsequent deployments

08/05/2022
in .net, asp.net, msdeploy
Reading Time: 1 min read

How do you tell MSDeploy.exe to skip deploying a few select files in subsequent deployments?

For e.g. I deploy a package that has files A, B and C. Then, I make another fresh build and therefore another package of the same application, only this time with the new version of the binaries A, B and C.

Now, I want MSDeploy.exe to deliver/deploy only files A and C, and to not deploy the new version of file B.

Is there a way to do that?

I think you can create a rule in the config file if you wish to skip those files in every single deployment.

The config file is located at C:\Program Files\IIS\Microsoft Web Deploy V2. It is called msdeploy.exe (XML Config File). The sample config file is in the same directory as masdeploy.exe.configsettings.example

Please post your solutions or any other findings.

Tags: .netASP.NETmsdeploy
ShareTweetPin

Related Posts

asp.net

How to implement observer pattern to work with user controls in asp.net

I've 2 user controls named UCCreateProfile.ascx (used for creating/editing profile data) and UCProfileList.ascx (used to display profile data in GridView)....

.net

F# Match with discriminated unions

I define 2 discriminated unions: "Direction" and "TurnCommand": type Direction = | South of string | East of string |...

.net

What is the correct way to call DateTime.TryParse from F#?

What is the correct way to call DateTime.TryParse from F#? I am trying to test some code from F# interactive...

.net

Fix immediate cyclic references with discriminated unions

I'm making a mini Pascal parser, program ::= program identifier ; block . block ::= variable-declaration-part procedure-declaration-part statement-part procedure-declaration-part ::=...

Next Post

msdeploy doesn't detect any changes for .NET Core MVC website

Hot tags

.net Algorithm amazon-web-services android Apache ASP.NET c# css django docker eclipse email google-app-engine google-cloud-platform hadoop Hive html ios iphone java javascript kubernetes linux macos maven mysql node.js oracle php postgresql python Python 3.X R ruby ruby-on-rails sockets spring spring boot SQL SQL SERVER TensorFlow unit-testing windows xcode 爬虫

    © 2022 Websitedic.com.

    No Result
    View All Result
    • index
    • Java
    • python
    • javascript