xbuild runner task for grunt

Usage no npm install needed!

<script type="module">
  import gruntXbuild from '';


grunt-xbuild Build Status NPM version Dependencies

xbuild runner for grunt

Getting Started:

The task requires that the mono mdk be installed and the 'xbuild' command available in the path


npm install grunt-xbuild --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:


XBuild task

builds and execs the xbuild command on the shell

xbuild: {
  build: {
    options: {
      sln_file: "MySolution.sln", // solution to target
      configuration: "Release", // optional configuration (e.g. Debug, Release), defaults to Release
      target_framework: "v4.0", // optional, defaults to 'v4.0'
      properties: {
        // <key: value> list of extra properties to be included e.g.
        outputPath: "./buildOutput/" // expands to /p:outputPath=./buildOutput/