-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dedupe workload packs #8423
Dedupe workload packs #8423
Conversation
FYI @steveisok This should solve the issue for EMSDK |
Thanks @joeloff for figuring this out quickly! |
@chcosta adding you since I need someone from eng to approve before I can merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no opinion on these changes so... LGTM
Help me @mmitche you're my only hope I thought anyone from eng would unblock the merge, but I guess not since this is 6.0 |
src/Microsoft.DotNet.Build.Tasks.Workloads/src/GenerateWorkloadMsis.cs
Outdated
Show resolved
Hide resolved
@mmitche could you please merge this? |
* Dedupe workload packs * Replace HashSet with List
Deduping packs based on ID and version. Since WorkloadPacks don't implement GetHashCode, Distinct() fails to dedupe properly. Duplicate packs causes issues when trying to compile/link the same pack in parallel and can also create multiple PackageCodes for the same MSI leading to other problems when the MSIs are actually installed.