Skip to content

[release/3.0] Switch to embedded package icon #14394

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

Merged
merged 9 commits into from
Oct 4, 2019
Merged

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Sep 24, 2019

Contributes to aspnet/AspNetCore-Internal#3103

@wtgodbe wtgodbe requested a review from a team September 24, 2019 20:32
@wtgodbe wtgodbe added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Sep 24, 2019
@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 24, 2019

.dotnet\sdk\3.0.100-preview8-013656\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(198,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) The element 'metadata' in namespace 'http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd' has invalid child element 'icon' in namespace 'http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd'. List of possible elements expected: 'releaseNotes, contentFiles, frameworkReferences, title, frameworkAssemblies, summary, dependencies, licenseUrl, owners, references, packageTypes, iconUrl, language' in namespace 'http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd'. This validation error occurred in a 'icon' element.

Same as dotnet/razor#1166 (comment). Maybe this is only happening in jobs that build packages by default? @dougbu should we just update to the GA SDK? All the repos are currently on preview8

@dougbu
Copy link
Contributor

dougbu commented Sep 24, 2019

Yes, let's update the SDK to 3.0.0 GA. Wasn't Arcade forcing this a topic at tactics this morning @mmitche? If yes, what was the decision for Arcade and does it imply we should not change the SDK?

/cc @Pilchie

@mmitche
Copy link
Member

mmitche commented Sep 24, 2019

@dougbu Arcade will force the update, but feel free to get ahead of it.

FYI please update branding to 3.0.1 and turn off stable builds prior to checking anything else into 3.0

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 24, 2019

Just updated to the GA SDK

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 25, 2019

Code Check:

F:\workspace_work\1\s\src\Azure\AzureAD\Authentication.AzureADB2C.UI\src\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj : error Undefined: Failed to download package 'Microsoft.NET.Sdk.Razor.3.0.0' from 'https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/be6219d6-ca7b-4704-9703-2d3dd3237766/nuget/v3/flat2/microsoft.net.sdk.razor/3.0.0/microsoft.net.sdk.razor.3.0.0.nupkg'.
F:\workspace_work\1\s\src\Azure\AzureAD\Authentication.AzureADB2C.UI\src\Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj : error Undefined: Response status code does not indicate success: 500 (Operation could not be completed within the specified time.).

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 25, 2019

Lots of builds failing with:

The element 'metadata' in namespace 'http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd' has invalid child element 'icon' in namespace 'http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd'. List of possible elements expected: 'tags, language, iconUrl, description, requireLicenseAcceptance, dependencies, references, serviceable, releaseNotes, copyright, developmentDependency, contentFiles, summary, packageTypes, frameworkAssemblies' in namespace 'http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd'. This validation error occurred in a 'icon' element.

Seeing this in src\Installers\Windows\TargetingPack\TargetingPack.wixproj and AfterSolutionBuild.proj. The builds claim to be using the stable 3.0.0 SDK, so I'm not sure why we're still seeing this old error

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 26, 2019

Ah, I think the issue is that these 2 projects are using old versions of nuget:

https://github.com/aspnet/AspNetCore/blob/master/src/Installers/Windows/GenerateNugetPackageWithMsi.ps1#L24-L28

https://github.com/aspnet/AspNetCore/blob/master/eng/tools/RepoTasks/RepoTasks.csproj#L15

The one in RepoTasks is probably safe to upgrade, but it looks like the issue referenced in GenerateNugetPackageWithMsi.ps1 is still active: NuGet/Home#5016. @dougbu bumping the nuget version there seems likely to increase the build time (possibly significantly), can you suggest a different workaround? Will push a commit now to update these versions, as a test.

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 26, 2019

The "Build Installers" step in x64/x86 build is the one to keep an eye on, it might become significantly slower

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 26, 2019

Errors so far are about the build machines not having MSBuild 16.3 😞

@dougbu
Copy link
Contributor

dougbu commented Sep 26, 2019

msbuild issue as a known problem w/ the agents. @Chrisboh should have more info.

W.r.t NuGet/Home#5016 isn't that problem specific to cases involving .. relative paths?

@wtgodbe wtgodbe added the tell-mode Indicates a PR which is being merged during tell-mode label Sep 26, 2019
@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 27, 2019

Going to try using a preview9 SDK as a temporary workaround - hopefully there is a window between when PackageIconUrl was deprecated, and when the SDK started requiring msbuild 16.3 (cc @JunTaoLuo)

@wtgodbe
Copy link
Member Author

wtgodbe commented Sep 27, 2019

Hitting the tar thing now

@wtgodbe
Copy link
Member Author

wtgodbe commented Oct 1, 2019

Can't use the preview9 SDK - will revert back to the GA one

@dougbu
Copy link
Contributor

dougbu commented Oct 3, 2019

/azp run AspNetCore-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dougbu
Copy link
Contributor

dougbu commented Oct 3, 2019

/azp run AspNetCore-helix-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wtgodbe wtgodbe merged commit f05087b into release/3.0 Oct 4, 2019
@wtgodbe wtgodbe deleted the Embedded30 branch October 4, 2019 21:19
@analogrelay analogrelay added this to the 3.0.1 milestone Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework tell-mode Indicates a PR which is being merged during tell-mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants