-
Notifications
You must be signed in to change notification settings - Fork 352
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
Update workload pack tasks #7614
Conversation
joeloff
commented
Jul 13, 2021
- Extract ProductLanguage into JSON manifest - these will be needed in the CLI to detect related products when dealing with upgrades for manifest MSIs
- Remove icon file from generated csproj
- Only add pack dependencies if they exist
@pjcollins hold off on reviewing, there's another fix that needs to go into this to extract more information we need in the CLI |
Here's a sample of what the new metadata will look like. We're extracting the Upgrade table (if present). Otherwise, we need to make make DB calls to extract the information from the MSI at install time and that would add a lot more complexity to the CLI logic. @dsplaisted as an FYI So turning this into
|
writer.WriteElementString("PackageId", $"{nupkg.Id}.Msi.{platform}"); | ||
writer.WriteElementString("PackageVersion", $"{nupkg.Version}"); | ||
writer.WriteElementString("Description", nupkg.Description); | ||
writer.WriteElementString("PackageIcon", "Icon.png"); |
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.
You might have to define an empty "PackageIcon" property so that Arcade doesn't provide defaults and then adds the item group for you.
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 ran under Arcade SDK in dotnet/installer and it seems to work, but I will condition the target
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.
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.
The latest icon related changes appear to be working for me.