Sample compilation script using MSBuild. The script performs the following steps: Build the solution Run unit tests Create a nuget package Just run build.cmd. The results will be stored in .\results\ folder.