Updated the documentation for Visual Studio Build Packaging to use the correct format for version numbers.

This commit is contained in:
Luke Skinner
2017-07-02 15:23:14 +01:00
parent 88f5ff1cbc
commit f5fbd833f7

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>
```