.Net Core SDK (Arm64) can't compile , MSB6006


#1

Hi , I’m new to this fourm , now I got a puzzling problem :
Why the sdk(arm64) can’t compile my codes?
I just created a helloworld project , then I use dotnet build to build it.
But I got an error:

/root/dotnet/sdk/2.1.300/Roslyn/Microsoft.Csharp.Core.Targets(52,5);
error MSB6006:“csc.dll” exited with code 139.

the dotnet --info shows the following text:

.NET Core SDK (reflecting any global.json):   Version:   2.1.300                           
Commit:    adab45bf0c                                                                   
 Runtime Environment:                          
OS Name:     ubuntu                          
OS Version:  18.04                           
OS Platform: Linux                           
RID:         ubuntu.18.04-arm64              
Base Path:   /root/dotnet/sdk/2.1.300/                                                  
 Host (useful for support):                     
Version: 2.1.0                               
Commit:  caa7b7e2ba                                                                     
.NET Core SDKs installed:                      2.1.300 [/root/dotnet/sdk]                                                              
.NET Core runtimes installed:                  Microsoft.NETCore.App 2.1.0 [/root/dotnet/shared/Microsoft.NETCore.App]                                                              
To install additional .NET Core runtimes or SDKs:                                     https://aka.ms/dotnet-download

A simlar issue(closed) : https://github.com/dotnet/roslyn/issues/26505


.NET Foundation Website | Blog | Projects | Code of Conduct