WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186 stars 116 forks source link

Patch order on Add-XrmSolutionPatch wrong #310

Open kazur97 opened 3 years ago

kazur97 commented 3 years ago

When calling Add-XrmSolutionPatch, the cmdlet searches for the highest version patch for the parent solution. It does this by ordering the patches by its version string. This leads to 1.0.9.0 being greater than 1.0.10.0 because when comparing the strings "9" > "1", resulting in an error when creating patches beyond patch level 10