dotnet avatar

Msbuild Server

If you're running dotnet build from the command line and wondering why Visual Studio feels snappier on the same project, this is your answer. It enables MSBuild Server via MSBUILDUSESERVER=1, which caches evaluation results across CLI builds the same way VS does with its long-lived process. You'll see the biggest wins on repos with many projects or gnarly Directory.Build.props chains. Straightforward setup, but don't expect miracles in VS itself since it already does this under the hood. Good for local dev workflows and CI agents that run sequential builds of the same codebase.

skills.sh installs
1.5K
GitHub stars
5.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add dotnet/skills --skill msbuild-server --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're running dotnet build from the command line and wondering why Visual Studio feels snappier on the same project, this is your answer. It enables MSBuild Server via MSBUILDUSESERVER=1, which caches evaluation results across CLI builds the same way VS does with its long-lived process. You'll see the biggest wins on repos with many projects or gnarly Directory.Build.props chains. Straightforward setup, but don't expect miracles in VS itself since it already does this under the hood. Good for local dev workflows and CI agents that run sequential builds of the same codebase.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/dotnet/skills
Categories
Backend & APIs, DevOps & CI/CD, Documentation, Debugging, Design & UI/UX, CLI & Terminal, .NET & C#
First seen
Jun 3, 2026

More from dotnet/skills

All 102
1sickn33 avatarbackend-dev-guidelinessickn33/antigravity-awesome-skillsbackend dev guidelines1.5Kskills.sh installs
2andrewyng avatarget-api-docsandrewyng/context-hubUse this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have the latest, most accurate docu1.3Kskills.sh installs
3google-gemini avatarvertex-ai-api-devgoogle-gemini/gemini-skillsGuides the usage of Gemini API on Google Cloud Vertex AI with the Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicit1.3Kskills.sh installs
4aradotso avataropenviking-context-databasearadotso/trending-skillsopenviking context database1.3Kskills.sh installs
5nexscope-ai avataramazon-backend-keywordsnexscope-ai/amazon-skillsAmazon backend search term optimization and strategy. 250-byte limit management, keyword deduplication, prioritization frameworks, and search visibility optimiz1.3Kskills.sh installs
6nvidia avatarcuopt-numerical-optimization-api-cnvidia/skillsLP, MILP, and QP (beta) with cuOpt — C API only. Use when the user is embedding LP, MILP, or QP in C/C++.1.3Kskills.sh installs