NuGet pack and restore as MSBuild targets

NuGet pack and restore can work directly as MSBuild targets with NuGet 4.0+.