小编Mar*_*hal的帖子

M1 Mac (linux-arm64) 上的 PostSharp 支持

我最近开始使用 PostSharp 在 .NET 5 应用程序上进行缓存,它在我的 2015 MacBook Pro(英特尔)上运行得非常好。然而,我最近刚刚得到了一台 M1 Mac Mini,它具有 Apple 自己的 M1 芯片组 (linux-arm64),不幸的是,我无法再构建该解决方案。我收到的错误是:

#19 8.572 /root/.nuget/packages/postsharp/6.9.8/build/PostSharp.targets(381,5): error : This version of PostSharp does not support linux-arm64 runtime. [/src/Infrastructure/Infrastructure.csproj]
#19 8.586
#19 8.586 Build FAILED.
#19 8.586
#19 8.586 /root/.nuget/packages/postsharp/6.9.8/build/PostSharp.targets(381,5): error : This version of PostSharp does not support linux-arm64 runtime. [/src/Infrastructure/Infrastructure.csproj]
#19 8.586     0 Warning(s)
#19 8.586     1 Error(s)
#19 8.586
#19 8.586 Time Elapsed 00:00:08.05
------
failed to solve: rpc error: code = Unknown desc …
Run Code Online (Sandbox Code Playgroud)

postsharp arm64 apple-m1

5
推荐指数
0
解决办法
498
查看次数

标签 统计

apple-m1 ×1

arm64 ×1

postsharp ×1