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

Consider removing the win-arm RID from the RID graph #111976

Open
baronfel opened this issue Jan 29, 2025 · 1 comment
Open

Consider removing the win-arm RID from the RID graph #111976

baronfel opened this issue Jan 29, 2025 · 1 comment
Milestone

Comments

@baronfel
Copy link
Member

Today we expose the win-arm RID in the portable RID graph, which allows users to target that RID, as well as author and distribute assets for that RID. However, we don't ship an AppHost (and likely other critical assets) for this RID, so users that attempt to target it have a poor experience. Here's an example:

E:\..\..\win-arm-demo> dotnet new console
The template "Console App" was created successfully.

Processing post-creation actions...
Restoring E:\Code\Scratch\win-arm-demo\win-arm-demo.csproj:
Restore succeeded.

E:\..\..\win-arm-demo> dotnet build --arch arm --os win
C:\Program Files\dotnet\sdk\9.0.200-preview.0.24575.35\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(158,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'win-arm'.
C:\Program Files\dotnet\sdk\9.0.200-preview.0.24575.35\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(158,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'win-arm'.
C:\Program Files\dotnet\sdk\9.0.200-preview.0.24575.35\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(158,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'win-arm'.
C:\Program Files\dotnet\sdk\9.0.200-preview.0.24575.35\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(158,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'win-arm'.

Restore failed with 4 error(s) in 0.4s

E:\..\..\win-arm-demo> dotnet build --arch arm --os win -p:UseAppHost=false
Restore complete (0.3s)
You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
  win-arm-demo succeeded (2.1s) → bin\Debug\net9.0\win-arm\win-arm-demo.dll

Build succeeded in 2.8s

Do we want to allow targeting this old RID? A while back we said that we dropped support for it.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 29, 2025
Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

@agocke agocke added this to the Future milestone Jan 30, 2025
@agocke agocke removed the untriaged New issue has not been triaged by the area owner label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants