-
Notifications
You must be signed in to change notification settings - Fork 323
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
Using arm64 in TargetPlatform node in RunSettings throws #2566
Comments
With the upcoming MIPS64 architecture (dotnet/runtime#42194, and in future there will be more arch/platforms supported by the runtime); if possible, imo it would scale well if the internal/hardcoded enum dependency is shifted to the executing runtime's API for such information. |
+100 |
@MarcoRossignoli @nohwnd do we know what version of VS/dotnet CLI will include this support? |
@safern it will be supported on 17.1 for the Microsoft.NET.Test.Sdk sdk it's in preview for test host it https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/17.1.0-preview-20211109-03 and will be supported in 6.0.2 and 7.0. |
Thanks for the info, @MarcoRossignoli |
Description
Originally posted here dotnet/runtime#42017
Forcing the
<TargetPlatform>arm64</TargetPlatform>
to arm64 will fail with:This is because TargetPlatform is Architecture enum and that enum does not have arm64. There is also PlatformArchitecture and IsPlatformIncompatible and other few places that possible need update, not just the enum value.
Can be unblocked by not using that option in settings, but it should work correctly.
The text was updated successfully, but these errors were encountered: