mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
更新 README.md
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
## 如何编译CMLeonOS
|
||||
### 1.下载开发环境
|
||||
#### Visual Studio
|
||||
下载Visual Studio 2026正式版([https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Stable&version=VS18&source=VSLandingPage&cid=2500&passive=false](https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Stable&version=VS18&source=VSLandingPage&cid=2500&passive=false)),在Visual Studio Installer里勾选.Net开发、C++桌面开发、VSIX包开发、.Net 6.0支持、MSBuild。
|
||||
下载Visual Studio 2026正式版([链接](https://visualstudio.microsoft.com/zh-hans/thank-you-downloading-visual-studio/?sku=Community&channel=Stable&version=VS18&source=VSLandingPage&cid=2500&passive=false)),在Visual Studio Installer里勾选.Net开发、C++桌面开发、VSIX包开发、.Net 6.0支持、MSBuild。
|
||||
#### VS C++
|
||||
下载Microsoft Visual C++ Redistributable 2010([https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2010-vc-100-sp1-no-longer-supported](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2010-vc-100-sp1-no-longer-supported))(x86、x64均下载并安装)
|
||||
下载Microsoft Visual C++ Redistributable 2010([链接](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2010-vc-100-sp1-no-longer-supported))(x86、x64均下载并安装)
|
||||
### 2.下载并安装编译环境
|
||||
使用
|
||||
```bash
|
||||
@@ -24,4 +24,4 @@ git clone https://github.com/leonmmcoset/cmleonos
|
||||
```
|
||||
下载CMLeonOS源代码,使用Visual Studio打开cmleonos文件夹里的sln文件,右键解决方案资源管理器里面的CMLeonOS项,选择Nuget包配置,将前文提到的配置出来的Cosmos镜像源里的**所有库**全部安装。
|
||||
然后将运行配置的Release复制一个新的名字为Fixed_Release,架构选项从Any CPU改为x64。
|
||||
配置完成后点击顶栏的运行按钮,等待编译完成(如果电脑里有VMWare将会自动启动VMWare Player运行),编译出来的iso文件位于/bin/x64/Fixed_Release/.net6.0/CMLeonOS.iso。
|
||||
配置完成后点击顶栏的运行按钮,等待编译完成(如果电脑里有VMWare将会自动启动VMWare Player运行),编译出来的iso文件位于`/bin/x64/Fixed_Release/.net6.0/CMLeonOS.iso`。
|
||||
Reference in New Issue
Block a user