I want to import solution using a windows form application.
For that I'm using ImportSolutionRequest
. But before initiating import into solution, I want to check if that solution is already imported or not.
For this, one approach can be using QueryExpression
which will fetch the specific columns and then I can match it with current version by navigating through the CustomizationFile
.
Is there any other possible way that I can compare the solution?
One quick way to compare solutions is to export both, unzip them, and run a "diff" on the customizations.xml files.
"Diff" tools include: Visual Studio, WinMerge, BeyondCompare.
There was also a tool on CodePlex that would run a compare between solutions and produce a report. Perhaps you can adapt that code to run the comparison within your custom code.
For further reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.