Skip to content
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

[release/5.0] Update dependencies from dotnet/efcore dotnet/runtime #28087

Merged

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Nov 23, 2020

This pull request updates the following dependencies

From https://github.com/dotnet/runtime

  • Subscription: 2ccac658-6e68-4e98-ebd5-08d85e711a64
  • Build: 20201125.16
  • Date Produced: 11/26/2020 3:40 AM
  • Commit: b02e13abab3d6f499751af2ad1ae6333fb4e633d
  • Branch: refs/heads/release/5.0

From https://github.com/dotnet/efcore

  • Subscription: 5a5466f0-17ae-442c-2f05-08d85e5f2673
  • Build: 20201125.6
  • Date Produced: 11/26/2020 12:22 AM
  • Commit: e08026a638e684e6d3eabbd65702251e8c0febea
  • Branch: refs/heads/release/5.0

…1122.4

Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.1-servicing.20570.12 -> To Version 5.0.1-servicing.20572.4
@ghost ghost added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Type: Dependency Update 🔼 labels Nov 23, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Auto-approving dependency update.

@ghost ghost added the tell-mode Indicates a PR which is being merged during tell-mode label Nov 23, 2020
…123.5

Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer
 From Version 5.0.1 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/runtime [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore Nov 24, 2020
…1124.5

System.IO.Pipelines , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.0 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime Nov 24, 2020
pranavkm and others added 7 commits November 25, 2020 10:57
…1124.8

System.IO.Pipelines , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.0 -> To Version 5.0.1
…124.5

Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer
 From Version 5.0.1 -> To Version 5.0.1
…1124.11

System.IO.Pipelines , System.Security.Cryptography.Pkcs , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.1 -> To Version 5.0.1
…1124.14

System.IO.Pipelines , System.Security.Cryptography.Pkcs , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.1 -> To Version 5.0.1
…1125.2

System.IO.Pipelines , System.Security.Cryptography.Pkcs , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport
 From Version 5.0.1 -> To Version 5.0.1
…125.2

Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer
 From Version 5.0.1 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore Nov 25, 2020
…1125.9

System.IO.Pipelines , Microsoft.NETCore.App.Internal , Microsoft.Extensions.DependencyInjection , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , System.Security.Cryptography.Pkcs
 From Version 5.0.0 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime Nov 25, 2020
@@ -175,6 +175,15 @@ public void SharedFrameworkAssembliesHaveExpectedAssemblyVersions()
var reader = peReader.GetMetadataReader(MetadataReaderOptions.Default);
var assemblyDefinition = reader.GetAssemblyDefinition();

if (assemblyDefinition.GetAssemblyName().Name is
Copy link
Contributor

Choose a reason for hiding this comment

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

@JunTaoLuo when you return, could you have a look at this change? Some of these runtime versions have been updated. It's not super clear if that's problematic (I would think not?)

@pranavkm
Copy link
Contributor

I tried debugging the build failure for a bit but I'm not 100% sure what a resolution would look like. The shared runtime gets a version of M.E.DependencyInjection from the microsoft.extensions.internal.transport package which wasn't updated as part of the most recent change. The rest of ASP.NET Core references it from the M.E.DependencyInjection nuget package. This mismatch results in a MSBuild warning.

@JunTaoLuo could you look in to this?

…125.6

Microsoft.EntityFrameworkCore.Tools , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Design , Microsoft.EntityFrameworkCore.InMemory , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.SqlServer
 From Version 5.0.1 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore Nov 26, 2020
…1125.12

System.IO.Pipelines , Microsoft.NETCore.App.Internal , Microsoft.Extensions.DependencyInjection , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , System.Security.Cryptography.Pkcs
 From Version 5.0.0 -> To Version 5.0.1
@dotnet-maestro dotnet-maestro bot changed the title [release/5.0] Update dependencies from dotnet/runtime dotnet/efcore [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime Nov 26, 2020
…1125.16

System.IO.Pipelines , Microsoft.NETCore.App.Internal , Microsoft.Extensions.DependencyInjection , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.BrowserDebugHost.Transport , System.Security.Cryptography.Pkcs
 From Version 5.0.0 -> To Version 5.0.1
@dougbu
Copy link
Member

dougbu commented Nov 26, 2020

@pranavkm @ericstj @Pilchie the apparent issue here is likely due to assembly version changes in servicing, combined with the assemblies previously in dotnet/extensions releasing independently. dotnet/aspnetcore definitely does not "expect" the second.

Background: Microsoft.AspNetCore.App.Runtime.csproj uses reference resolution to determine the transitive closure of all assemblies required in the Microsoft.AspNetCore.App shared framework. It does some tricks to avoid compilation-only references and to exclude assemblies already available in the Microsoft.NETCore.App shared framework. The first part of that isn't working completely because eng/targets/ResolveReferences.targets adds a compilation-only reference to Microsoft.Extensions.Internal.Transport.nupkg.

Rather than adding more direct dependencies, suggest removing that implicit reference. I'll try that but am unlikely to pay attention…

- Microsoft.AspNetCore.App.Runtime project does not expect compilation-only references
- slight change to 49cc13c workaround
- avoid problems with e.g. System.Extensions.DependencyInjection in 5.0.1
…ng (#25851)"

- dotnet/runtime assembly versions are unexpectedly changing in servicing

This reverts commit bfc1ec6.
- assemblies with non-0.0 versions end up in Microsoft.AspNetCore.App
- future-proofs these tests because more dotnet/runtime versions may change
@dougbu
Copy link
Member

dougbu commented Nov 30, 2020

FYI primary non-Windows error is

/datadisks/disk1/workspace/_work/1/s/.dotnet/sdk/5.0.100/Microsoft.Common.CurrentVersion.targets(2123,5): error MSB3106: Assembly strong name "/datadisks/disk1/workspace/_work/1/s/.packages/system.io.pipelines/5.0.0/ref/netcoreapp2.0/System.IO.Pipelines.dll" is either a path which could not be found or it is a full assembly name which is badly formed. If it is a full assembly name it may contain characters that need to be escaped with backslash(\). Those characters are Equals(=), Comma(,), Quote("), Apostrophe('), Backslash(\). [/datadisks/disk1/workspace/_work/1/s/src/Http/Http.Features/src/Microsoft.AspNetCore.Http.Features.csproj]

Likely restored %(RTMVersion) handling is working only on Windows for some reason…

- need the RTM-versioned packages on all platforms
  - we only target `net472` on Windows
@dotnet-maestro dotnet-maestro bot merged commit d0f0901 into release/5.0 Nov 30, 2020
@dotnet-maestro dotnet-maestro bot deleted the darc-release/5.0-d4478e43-6d04-47a1-8a7c-c6c2dcd90d64 branch November 30, 2020 03:46
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 Type: Dependency Update 🔼
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants