Skip to content

Detecting what projects have changed in order to provide them for MSBuild (we don't build the whole solution) Replace for Docker Containers.

License

Notifications You must be signed in to change notification settings

damianczer/Azure-DevOps-MSBuild-Auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Azure DevOps Automation - replace for Docker Containers?

Do you have a BIG solution?
More than 100 projects?
Don't you use Docker Containers and have to build the whole solution?
Does it take a lot of time to build the entire solution through Pipeline Azure DevOps?
Are you waiting more than 20 minutes even the changes were minimal?

Here is the Solution!

Before:

image

After:

image

Step Configuration:

image

Pipeline Variables:

image

MSBuild Configuration:

image

Call MSBuild inside Build.proj with our global variable (list of changed projects) instead of Solution File (.sln):

image

If your deployment method allows you to "copy only changed files/projects/.dlls" -> let's do it! Don't build the whole soloution, build what has changed! If the projects are dependent on each other - references will be built! This is just a proposal for a solution/optimization of software delivery to the client server.

Please note that the code of this application is copyrighted and cannot be used for personal purposes. You must obtain permission from the author in order to use the code.

About

Detecting what projects have changed in order to provide them for MSBuild (we don't build the whole solution) Replace for Docker Containers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published