
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-codeInstalls 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 GitHubSponsors
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- Mcp Csharp Create722
- Mcp Csharp Test706
- Mcp Csharp Publish650
- Mcp Csharp Debug626
- Dotnet Test Frameworks460
- Exp Mock Usage Analysis
- Exp Simd Vectorization
- Exp Test Maintainability
- Optimizing Ef Core Queries6.6K
- Run Tests6.6K
- Analyzing Dotnet Performance5.8K
- Test Anti Patterns5.3K
- Filter Syntax5.2K
- Dotnet Webapi5.2K
- Code Testing Agent4.7K
- Msbuild Antipatterns4.7K
- Dotnet Trace Collect4.6K
- Csharp Scripts4.5K
- Directory Build Organization4.5K
- Msbuild Modernization4.4K
- Coverage Analysis4.4K
- Assertion Quality4.3K
- Binlog Failure Analysis4.3K
- Dotnet Aot Compat4.3K