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

dotnet test问题 #7

Open
factfinding opened this issue Feb 11, 2025 · 0 comments
Open

dotnet test问题 #7

factfinding opened this issue Feb 11, 2025 · 0 comments

Comments

@factfinding
Copy link

dotnet test无法工作,报不支持的平台错误,log如下:
Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.TestPlatform.ObjectModel.Constants' threw an exception. ---> System.NotSupportedException: Specified method is not supported.
代码定位到:
at Microsoft.VisualStudio.TestPlatform.PlatformAbstractions.PlatformEnvironment.get_Architecture() in /vmr/src/vstest/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs:line 33
去官方的vstest代码库中https://github.com/microsoft/vstest/blob/main/src/Microsoft.TestPlatform.PlatformAbstractions/netcore/System/PlatformEnvironment.cs
可以看到这里做了平台判断,但是没有添加Architecture.LoongArch64分支,是否有可能支持?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant