Replies: 4 comments
-
I'm currently building out the ability to produced a zipped copy of crossgen2 for use by the docker build scenarios, but I'm not sure if this covers the source build scenarios. In general though, crossgen2 is not expected to be the mainline compilation experience for .NET 5, but we hope to replace crossgen for .NET 6. |
Beta Was this translation helpful? Give feedback.
-
How will Docker will be using the zips? The issue is on the consumption side, not the production side. If the .NET Core SDK has no way for us to place crossgen2 somewhere on disk and use that copy (rather than downloading from NuGet) that means it isn't available in the source-built product. We can build the runtime + crossgen2 packs as nuget packages fine in source-build, just nowhere to put them. |
Beta Was this translation helpful? Give feedback.
-
Will we support any scenario in the 5.0 .NET SDK that uses crossgen2? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
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:
dotnet/runtime#906:
(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
Beta Was this translation helpful? Give feedback.
All reactions