Skip to content

dev/ci build bundled frameworks are not considered newer than previews #5214

Open
@tmds

Description

@tmds

CI builds from the VMR have recently changed their versioning. For example, previously it built dotnet-sdk-10.0.100-preview.5.25263.6-fedora.41-x64.tar.gz, and now it builds dotnet-sdk-10.0.100-dev-fedora.41-x64.tar.gz.

When trying to build the runtime repo with the new verioning, this happens when running an app:

  You must install or update .NET to run this application.
  
  App: /home/tester/.nuget/packages/microsoft.dotnet.hotreload.utils.generator.buildtool/10.0.0-alpha.0.25255.1/tools/net10.0/Microsoft.DotNet.HotReload.Utils.Generator.BuildTool.dll
  Architecture: x64
  Framework: 'Microsoft.NETCore.App', version '10.0.0-preview.3.25171.5' (x64)
  .NET location: /tmp/tmp.OdOrIEAlJf/
  
  The following frameworks were found:
    10.0.0-dev at [/tmp/tmp.OdOrIEAlJf/shared/Microsoft.NETCore.App]
  
  Learn more:
  https://aka.ms/dotnet/app-launch-failed

The requirement for >= 10.0.0-preview.3.25171.5 was satisfied by 10.0.100-preview.5.25263.6, but is not by 10.0.100-dev.

cc @ViktorHofer @mmitche @omajid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions