Work with Visual Studio solutions from inside Visual Studio Code
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode (1) Add support for (optionally) specifying build configurations from… Oct 29, 2018
example/helloworld
gifs
schemas (1) Add support for (optionally) specifying build configurations from… Oct 29, 2018
src Adding support for defining build configs from msbuild-tools.json Oct 29, 2018
test
.gitignore Initial public release version 0.0.1 Mar 25, 2017
.vscodeignore
CHANGELOG.md
LICENSE.md
README.md added a working example Feb 5, 2018
package.json (1) Add support for (optionally) specifying build configurations from… Oct 29, 2018
thirdpartynotices.txt
tsconfig.json Initial public release version 0.0.1 Mar 25, 2017
tslint.json

README.md

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.