NuGet/Home

nuget.exe pack with both -symbols and -suffix give incorrect name to symbol package

Open

#3.530 geöffnet am 26. Sept. 2016

Auf GitHub ansehen
 (6 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)HTML (292 Forks)batch import
Functionality:PackPriority:2Type:Bughelp wanted

Repository-Metriken

Stars
 (1.459 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 464T 23h) (1 gemergte PR in 30 T)

Beschreibung

Steps

  1. Create a .nuspec on disk.
  2. Make sure there are some files to pack (nuget.exe pack won't make an empty package).
  3. Run nuget.exe pack path\to\my.nuspec -symbols -suffix beta

Expected

Two nupkgs, one ending in beta.nupkg and the other ending in beta.symbols.nupkg.

Actual

The symbols package's file name has the version number without the suffix. The .nuspec inside the package seems fine though.

Example

nuget.exe pack VS.Redist.NuGet_VS15.nuspec -symbols -suffix BETA

Attempting to build package from 'VS.Redist.NuGet_VS15.nuspec'.
Successfully created package 'C:\Users\jver\Desktop\foo\VS.Redist.NuGet_VS15.3.5.160923.1438-BETA.nupkg'.
Successfully created package 'C:\Users\jver\Desktop\foo\VS.Redist.NuGet_VS15.3.5.160923.1438-bar.symbols.nupkg'.

Tried on latest dev and 3.5.0-rc1.

Contributor Guide