.NET Core 源码编译的问题解析
引言: .NET Core 源码编译
https://github.com/dotnet
git clone https://github.com/dotnet/runtime.git
一:Windows 编译
./build -subset Clr
./build -subset Libs
./build -subset Installer
二:Linux 编译
1.Ubuntu 18.04 LTS (Docker/虚拟机/vps) 内存至少 1G
2.环境:
# 1. 安装以下软件包
sudo apt-get update
sudo apt-get install apt-transport-https
ca-certificates gnupg software-properties-common wget
# 2. 获取签名密钥
wget -O -
https://apt.kitware.com/keys/kitware-archive-latest.
asc 2>/dev/null | apt-key add -