msbuild
بواسطة thecybercore
Coding Agents & IDEsموجز
This skill provides a practical, **prioritized** set of the **80 most useful command templates** for working.
الوصف
ما الذي تفعله هذه المهارة
A prioritized set of 80 MSBuild and dotnet CLI command templates for .NET and ASP.NET projects. Covers the full day-to-day workflow from restore and build through test, publish, NuGet packaging, and build diagnostics. Commands are ranked by frequency and impact.
Having 80 ranked templates in one place eliminates flag lookups across scattered docs when moving between restore, build, test, and publish tasks in the same session.
متى تستخدمها
- Running a Release build with determinism flags for CI pipelines
- Publishing a self-contained single-file executable for Linux
- Capturing a binary log to diagnose a failing build
- Running tests with code coverage collection and TRX report output
- Packing a NuGet library and stamping it with a version number
مثال على سير العمل
User asks: Publish my ASP.NET app as a self-contained single-file for Linux x64
- 1
Identify the target project .csproj path
- 2
Set /t:Publish with /p:Configuration=Release
- 3
Add /p:RuntimeIdentifier=linux-x64 and /p:SelfContained=true
- 4
Add /p:PublishSingleFile=true
- 5
Suggest adding /bl to capture a binary log if the publish fails
dotnet msbuild src/MyWeb/MyWeb.csproj /t:Publish /p:Configuration=Release /p:RuntimeIdentifier=linux-x64 /p:SelfContained=true /p:PublishSingleFile=true
التثبيت
clawhub install thecybercore/msbuildشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.