MyGet Blog

Package management made easier!

NAVIGATION - SEARCH

Build services: support for build.cmd and build.ps1

Using MyGet Build Services, you have the opportunity to control exactly how your project gets built. MyGet Build Services will scan the contents of your source control and look for a file it can work with.

In short, the following files are searched for (in order of precedence):

  • build.bat, build.cmd or build.ps1
  • MyGet.sln
  • Any other *.sln file
  • *.csproj or *.vbproj
  • *.nuspec

Build.bat and build.cmd can be simple batch files which perform builds and packaging. Build.ps1 can be a PowerShell script which will be invoked. Our Build Services overview blog post provides more detail on environment variables and tools that can be used.

Happy packaging!

blog comments powered by Disqus