Merge pull request #1085 from lukeskinner/master

Updated the documentation for Visual Studio Build Packaging
This commit is contained in:
Paul Betts
2017-07-10 14:14:18 -07:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ The first step is to define a build target in your `.csproj` file.
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo"/>
</GetAssemblyIdentity>
<Exec Command="nuget pack MyApp.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(OutDir) -BasePath $(OutDir)" />
<Exec Command="squirrel --releasify $(OutDir)MyApp.%(myAssemblyInfo.Version).nupkg" />
<Exec Command="squirrel --releasify $(OutDir)MyApp.$([System.Version]::Parse(%(myAssemblyInfo.Version)).ToString(3)).nupkg" />
</Target>
```