Hi guys,
I know that updating solution can do everything include deleting a component, and clone a patch can not delete component from solution.
Is that the only difference between Update a solution and Clone a patch?
According to the MS doc,
Using clone a patch and clone solution to update a solution isn't recommended because it limits team development and increases complexity when storing your solution in a source control system. For information about how to update a solution, see Update a solution.
But there are few blogs that said clone a patch make solution clean, so I am a little confused, when should I use Update a solution and when should I use Clone a Patch? Are there some special use cases?
Any answer or web resources are appreciated!
Best Regards,
- sukie
Solved! Go to Solution.
Hi @sukie_y,
Clone solution is an operation used to merge a patch(es) into your main solution. Cloning is performed in the dev environment not in prod. You can then export an updated versoin of your main solution to upstream environments.
Patch is a mechanism to create a smaller solution from an existing solution generally for hotfix purposes. You can import a patch into upstream environments (e.g. Prod). While patches are present in dev, you cannot make further changes to the main solution.
Hope this clarifies 🙂
Hi @sukie_y ,
@EricRegnier is spot on, another good article that discusses in some detail patching scenarios along with updating a solution here.
Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew
Hi @sukie_y,
Clone solution is an operation used to merge a patch(es) into your main solution. Cloning is performed in the dev environment not in prod. You can then export an updated versoin of your main solution to upstream environments.
Patch is a mechanism to create a smaller solution from an existing solution generally for hotfix purposes. You can import a patch into upstream environments (e.g. Prod). While patches are present in dev, you cannot make further changes to the main solution.
Hope this clarifies 🙂
Hi @sukie_y ,
@EricRegnier is spot on, another good article that discusses in some detail patching scenarios along with updating a solution here.
Hope this helps. Please accept if answers your question or Like if helps in any way.
Thanks,
Drew
Thank you very much! The difference of Clone a solution and Clone a patch is what you said. Thank you!