Skip to content

Update workload build tasks - #7362

Merged
joeloff merged 7 commits into
dotnet:mainfrom
joeloff:workloadpacks2
May 17, 2021
Merged

Update workload build tasks#7362
joeloff merged 7 commits into
dotnet:mainfrom
joeloff:workloadpacks2

Conversation

@joeloff

@joeloff joeloff commented May 10, 2021

Copy link
Copy Markdown
Member
  • Add support for locating workload manifests in data folder
  • Generate MSI JSON manifests for payload packages
  • Generate MSI payload projects
  • Add installation record registry keys to workload pack MSIs

@joeloff

joeloff commented May 10, 2021

Copy link
Copy Markdown
Member Author

@marcpopMSFT @lewing @pranavkm next round of updates for build tasks, most impact CLI installs which we won't need until preview6

@joeloff

joeloff commented May 17, 2021

Copy link
Copy Markdown
Member Author

@chcosta if you get a chance to look at this I'd appreciate it. This is for Preview5

@chcosta chcosta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have much interesting feedback. looks fine to me.

if (string.IsNullOrWhiteSpace(nupkg.Title))
{
Log?.LogWarning($"'{sourcePackage}' should have a non-empty title. The MSI ProductName will be set to the package ID instead.");
Log?.LogMessage(MessageImportance.High, $"'{sourcePackage}' should have a non-empty title. The MSI ProductName will be set to the package ID instead.");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this should be either a warning, or a normal importance message, but high importance seems weird to me. Also, this is just a nit and it's fine (to me) to leave this as-is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's not a problem if these items are missing because of how folks are building workloads. When it's a warning though, the builds in the installer repo will fail, and any changes to the packages requires respinning the full net stack since the workload packages for WASM originate in the dotnet/runtime repo

Comment thread src/Microsoft.DotNet.Build.Tasks.Workloads/src/GenerateMsiBase.cs Outdated
@joeloff
joeloff merged commit f211f0e into dotnet:main May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants