C# 简单的.net核心应用程序赢得';t在linux上构建
我有以下简单的应用程序。当我尝试构建它时,会出现以下错误:C# 简单的.net核心应用程序赢得';t在linux上构建,c#,linux,asp.net-core,.net-core,C#,Linux,Asp.net Core,.net Core,我有以下简单的应用程序。当我尝试构建它时,会出现以下错误: [jwan@xps datamigrator]$ dotnet --list-sdks 3.1.100 [/usr/share/dotnet/sdk] [jwan@xps datamigrator]$ dotnet build Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core Copyright (C) Microsoft Corporation. All
[jwan@xps datamigrator]$ dotnet --list-sdks
3.1.100 [/usr/share/dotnet/sdk]
[jwan@xps datamigrator]$ dotnet build
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
Build FAILED.
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
/usr/share/dotnet/sdk/3.1.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(88,5): error NETSDK1083: The specified RuntimeIdentifier 'arch-x64' is not recognized. [/home/jwan/code/datamigrator/DataMigrator.csproj]
0 Warning(s)
3 Error(s)
Time Elapsed 00:00:00.70
[jwan@xps datamigrator]$
如您所见,我已经安装了.NET Core SDK,我安装的是3.1.1版
我不知道为什么它不能建造
Arch-x64问题的Arch Linux bugtracker中有一个补丁:
发现于
Arch-x64问题的Arch Linux bugtracker中有一个补丁:
发现于