我在 Orangepi 板上安装了 SDK(基于 ARM)
tayfur@OrangePi:~$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.301
Commit: 7feb845744
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-arm
Base Path: /home/orangepi/dotnet/sdk/3.1.301/
Host (useful for support):
Version: 3.1.5
Commit: 65cd789777
.NET Core SDKs installed:
3.1.301 [/home/orangepi/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.5 [/home/orangepi/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.5 [/home/orangepi/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
在我使用 vs2019 开发应用程序之后
Windows 窗体应用程序 (.NET Core)
我添加了表格和 bttuon 来打个招呼。
我用“dotnet test1.dll”在电脑上测试了它的工作正常
但它不适用于 orangepiboard(ARM ubuntu 16.4)
错误:
tayfur@OrangePi:~/netcore$ ls
test1.deps.json test1.exe test1.runtimeconfig.dev.json
test1.dll test1.pdb test1.runtimeconfig.json
tayfur@OrangePi:~/netcore$ dotnet test1.dll
It was not possible to find any compatible framework version
The framework 'Microsoft.WindowsDesktop.App', version '3.1.0' was not found.
- No frameworks were found.
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.WindowsDesktop.App&framework_version=3.1.0&arch=arm&rid=ubuntu.16.04-arm
tayfur@OrangePi:~/netcore$
我该如何解决。基本上,我想在 vs2019 上编写一个表单应用程序,并在 orangepi 板上运行。