Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

CoreRT does not support net5.0-windows TFM #8298

Open

Description

@Suchiman

Trying to use that TFM results in

C:\Program Files\dotnet\sdk\5.0.100-preview.8.20417.9\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(180,5): error NETSDK1047: Assets file '...\obj\project.assets.json' doesn't have a target for 'net5.0/win-x64'. Ensure that restore has run and that you have included 'net5.0' in the TargetFrameworks for your project. You may also need to include 'win-x64' in your project's RuntimeIdentifiers.

during
dotnet publish -c Release -r win-x64

Activity

  1. RalfKornmannEnvision commented on Sep 4, 2020

    @RalfKornmannEnvision
    Contributor

    Not sure if this is related but CoreRT is still a little bit behind the runtime. I noticed this when I needed to compile my own RyuJIT for cross compile and needed the nuget with an ARM64/Unix BCL. The Preview 8 version did not work because of at least one breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions