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

Potential off-by-one in versions for runtime packs/app hosts/etc for .NET 7 vs .NET 6? #19067

Open
baronfel opened this issue Mar 15, 2024 · 3 comments

Comments

@baronfel
Copy link
Member

While investigating dotnet/sdk#39544 I discovered that the .NET 6 Ubuntu package and the .NET 7 Ubuntu package disagree about what the latest version of the .NET 6 Runtime Packs, AppHosts, etc should be. This means that the .NET 7 SDK cannot build a .NET 6 application without going to NuGet.org to download additional assets. This feels like a bug to me.

Repro Steps:

The dotnet6 package is version 6.0.127-0ubuntu1~22.04.1.
The dotnet7 package is version 7.0.117-0ubuntu1~22.04.1.

Here are the versions and names of the Packs required for a .NET 6 console application:

Pack Name .NET 6 SDK Installed Version .NET 7 SDK Installed Version .NET 7 Required Version for a .NET 6 app
Microsoft.NETCore.App.Ref 6.0.27 7.0.17 6.0.28
Microsoft.AspNetCore.App.Ref 6.0.27 7.0.17 6.0.28
Microsoft.NETCore.App.Host.linux-x64 - - 6.0.28
Microsoft.NETCore.App.Host.ubuntu-x64 6.0.27 7.0.17 -

Note here also that the 7 SDK is looking for a specific AppHost RID that is not being installed, which also causes an errant download, but that's a separate issue.

@baronfel
Copy link
Member Author

This may be a point in time problem - the 7 SDK on the distro feeds matches to the latest release (7.0.17 from 3 days ago) but the 6 SDK on the distro feeds is one behind (6.0.28 from 3 days ago) - maybe that's the whole problem?

@marcpopMSFT
Copy link
Member

@MichaelSimons seems like there was a delay in the distro built 6 version of the SDK. Additionally, it sounds like something with their source build version is creating a need for an unbuntu app host. I'm not sure if that's expected. Maybe a topic for the next source build meeting with our OSS partners.

@MichaelSimons
Copy link
Member

Additionally, it sounds like something with their source build version is creating a need for an unbuntu app host. I'm not sure if that's expected.

source-build are RID specific, they are not portable.

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

No branches or pull requests

3 participants