Skip to content

Support .NET 5.0 scenarios that require crossgen2 without using prebuilts from nuget.org #1568

Closed
@dagood

Description

@dagood

Background

In 5.0, dotnet/runtime produces crossgen2 packs, Microsoft.NETCore.App.Crossgen2.<rid>. Similar to runtime packs (Microsoft.NETCore.App.Runtime.<rid>), these are designed to only be acquired via NuGet. The idea is that the crossgen in the runtime pack will be phased out in favor of the crossgen2 pack. (But I'm not familiar with the timeline--is phase-out post-5.0?).

dotnet/runtime#1867:

The acquisition for crossgen2 will be along the lines of the runtime packs: nuget only.

dotnet/runtime#906:

When the old crossgen is eventually phased out, it will be removed from the runtime pack. crossgen2 won't take crossgen's place in the runtime pack. It isn't considered good that crossgen was in the runtime pack to begin with, so this is an opportunity to fix that.

This new pack should have the same set of installers/packages as runtime packs.

(I would prefer quoting someone other than me on this, but can't find a design.)

Note that pure-source-build crossgen scenarios are already missing in 3.1, because this all applies to both runtime packs and crossgen2 packs. The runtime pack problem is tracked at #1215.

Scenarios

The question is: do the new scenarios afforded by crossgen2 raise the priority of getting packs to be compatible with source-build?

There are some new container scenarios, potentially of particular interest: dotnet/dotnet-docker#1791. (Please do edit in a better link if you have one.)

/cc @dleeapho @MichaelSimons @dseefeld @richlander @davidwrighton

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-product-experienceImprovements in the end-user's product experiencearea-upstream-fixNeeds a change in a contributing repo

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions