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:
After:
Step Configuration:
Pipeline Variables:
MSBuild Configuration:
Call MSBuild inside Build.proj with our global variable (list of changed projects) instead of Solution File (.sln):
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.