Skip to content

v-fearam/msbuild-examples

Repository files navigation

MSBuild examples

This repo is created to include MSBuild examples

  1. The first example is the creation of a MSBuild Custom Task for code generation. The idea is to consume a txt file and generate code from it during the build process. It is simple in order to show the mechanism, then you will be able to create a more complex piece of code. Part of this effort includes how to ship and consume the MSBuild Custom Task as a NuGet package.

    Please see the Custom Task-Code Generation Readme

  2. Generate a Rest Client API during the build process. The example uses NSawg as a client generator (It is also a code generation example). It is a very common scenario. We are going to create two examples

    1. Use the pre-defined MSBuild Exec Task to do that.
    2. Use the MSBuild Custom Task derived from MSBuild Tool Task to do that.

    Please see the Rest-Api client Generation Readme

  3. How to test a MSBuild Custom Task

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages