我在 macOS 上编译到 Ubuntu:
dotnet build --configuration Release --runtime ubuntu.18.04-x64
就是一句简单的 hello world 的 console, 半天没有编译完
我在 macOS 上编译到 Ubuntu:
dotnet build --configuration Release --runtime ubuntu.18.04-x64
就是一句简单的 hello world 的 console, 半天没有编译完
|
zachlhbSep 30, 2019 via Android
1
对 net 早就无爱了
|
|
keenkillerSep 30, 2019
2
交叉编译还是 go 快啊 2333
|
|
chinvoSep 30, 2019
4
还没试过这么搞,都是直接 dotnet publish -c Release 然后放到目标服务器上跑……
好像也没啥毛病? |
|
xupefeiSep 30, 2019
5
> dotnet new console
> dotnet build --configuration Release --runtime ubuntu.18.04-x64 Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. Restore completed in 2.66 sec for /Users/pengxu/text/text.csproj. text -> /Users/pengxu/text/bin/Release/netcoreapp3.0/ubuntu.18.04-x64/text.dll Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:00:05.32 我试了试,五秒钟搞定。楼主网有问题? |
|
netnrSep 30, 2019
7
nuget 依赖 https://api.nuget.org/v3/index.json
|
|
agdholeOct 1, 2019 via Android
9
微软最近被国内的某些 DNS 搞了,尝试换到 Google,cf DNS 试试,我前些天用 114DNS 下微软所有的东西都只有十多 kb,换了就好了
|
|
okampferOct 19, 2019
13
@TangMonk 腾讯云也有 nuget 镜像: https://mirrors.cloud.tencent.com/nuget
话说你在成都而且在做自由职业啊?真巧,我也是,关注你 github 了,如果可以想加个微信聊聊。 |