Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>msbuild ToolsNew to Visual Studio Code? Get it now.
msbuild Tools

msbuild Tools

sterin

|
26,121 installs
| (1) | Free
Work with MSBuild projects from inside Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

msbuild-tools

Work with Visual Studio (MSBuild) projects from inside Visual Studio Code.

Feedback is highy appreciated! Let me know if this works for you? Are there any showstopping bugs? Any features missing?

(I should probably merge this is vscode-xbuild-tools when I have time)

Caveats

  • First release, my first non-trivial TypeScript/JavaScript program - expect bugs, problems, and non-idiomatic code.
  • Managing the project (adding files, changing settings, etc.) has to be done using Visual Studio itself.

Features

  • Build/Clean/Debug/Run Visual Studio solutions from within vscode.
  • Switch between configurations (Debug/Release)
  • Debug directly from vscode - easily define debug configuration.
  • Status bar items that make it easy to build, debug, switch build and debug configurations.

Demo

  1. Create a project in Visual Studio

Create a project in Visual Studio

  1. Open the project in VSCode

msbuild-tools demo

Example

The example subdirectory of this repository contains a working example.

  1. Open Visual Studio code in example/helloworld and examine the file .vscode/msbuild-tools.json.

  2. Use msbuild-tools command to build, debug, run, clean, switch build configuration, and switch debug configurations.

  3. Use the status bar to build, debug, switch configurations or kill the build.

Credits

  • Heavily influenced by the great CMake-Tools extension.
  • Code derived from the basic extension generated by yo code.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft