惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
雷峰网
雷峰网
V
Visual Studio Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
IT之家
IT之家
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
月光博客
月光博客
A
About on SuperTechFans
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale

博客园 - egreen

在Visual Studio里用原版Copilot交互,烧DeepSeek等国模的Token,让微软和深度求索都为你打工 macOS 上通过二进制安装 Qdrant 并配置为 launchd 服务 CLI-Anything + Gear 最佳实践与踩坑修复沉淀 cli-proxy-api 工业AI报警插件 ZL.Simulator 工业级多仪器仿真与合成数据平台 SyncBus:让多台设备“齐舞”,告别协同烦恼 ZL.ParamEditor:把WinForms配置从‘苦力活’变成‘享受’! 彻底告别 WinForms SOP 开发的“老大难”! 告别“屎山”代码!Gear.NET:专为 .NET 工业自动化打造的微编排框架 electron 安装失败 【MacOS】彻底卸载Navicat pnpm 安装后无法使用 macOS 彻底卸载和重装 Node.js 指南 Serena 最佳实践方案 Create Custom Endpoint in Directus directus 的endpoint功能 CAN通讯上位机开发快问快答与最佳实践 在老项目中Claude code 中使用 ccpm功能 个人注册企业微信及机器人
dotnet项目编译运行
egreen · 2025-09-28 · via 博客园 - egreen

dotnet build - 基本构建

dotnet build PurestAdmin.Zero/PurestAdmin.Zero.csproj


# 指定解决方案文件
dotnet build PurestAdmin.sln

构建的常用参数

# 指定配置(Debug 或 Release)
dotnet build --configuration Release

# 指定输出目录
dotnet build --output ./build-output/

# 清除后重新构建(相当于 clean + build)
dotnet build --no-incremental

# 仅恢复包而不构建
dotnet build --no-build

dotnet run - 运行项目

# 在当前目录运行项目(自动构建)
dotnet run

# 不自动构建,直接运行
dotnet run --no-build

# 指定配置运行
dotnet run --configuration Release

# 传递参数给应用程序
dotnet run -- arg1 arg2