.net - 为什么 .NET 代码表单应用程序(VS2019)不能在 PI 板上运行?
问题描述
我在 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 板上运行。
解决方案
推荐阅读
- php - 如何在 json (PHP) 中查看欧元符号
- r - 使用 R,验证速率 λ = 10 的泊松过程
- php - 使用变量扩展关联数组
- java - 如何使用 Java 在 Firestore 中创建嵌套字段?
- gitlab - Gitlab Runner 注册失败
- android - 线性布局在滚动视图中不起作用?
- javascript - 如何在 React js 中导出全局对象
- javascript - 返回嵌套树中的匹配节点:Javascript
- spring-boot - JPA Repository.findByKeyEquals() 返回不存在的值,但该值存在于 db
- javascript - 根据键更新数组中嵌套对象的值