Command to build the NuGet package:
"C:\Program Files\dotnet\dotnet.exe" pack Q:\MyPackage\src\MyPackage.csproj --configuration Release --no-build --no-restore --no-dependencies --property:SymbolPackageFormat=snupkg --output Q:\MyPackage\result\nuget
Output:
15:52:05 [DBG] Successfully created package 'Q:\MyPackage\result\nuget\MyPackage.9.2.4.183.nupkg'.
15:52:05 [DBG] Successfully created package 'Q:\MyPackage\result\nuget\MyPackage.9.2.4.183.snupkg'.
Command to push the package to ProGet
15:52:05 [INF] > "C:\Program Files\dotnet\dotnet.exe" nuget push Q:\MyPackage\result\nuget\MyPackage.9.2.4.183.nupkg --source https://proget:8624/nuget/MyFeed/
Output:
15:52:05 [DBG] warn : No API Key was provided and no API Key could be found for 'https://proget:8624/nuget/MyFeed/'. To save an API Key for a source use the 'setApiKey' command.
15:52:05 [DBG] Pushing MyPackage.9.2.4.183.nupkg to 'https://proget:8624/nuget/MyFeed/'...
15:52:05 [DBG] PUT https://proget:8624/nuget/MyFeed/
15:52:06 [DBG] Created https://proget:8624/nuget/MyFeed/ 189ms
15:52:06 [DBG] Your package was pushed.
Command to push the symbols of the package (snupkg )
15:52:06 [INF] > "C:\Program Files\dotnet\dotnet.exe" nuget push Q:\MyPackage\result\nuget\MyPackage.9.2.4.183.snupkg --source https://proget:8624/nuget/MyFeed/
ProGet shows No symbols in this package have been indexed.
in the details of the package version under Symbols.
The symbol server for the feed is configured and set to Standard (.snupkg format)
I tried to change the order of the push commands => no change, still no symbols.
I tried to re-index the feed => no change, still no symbols.
ProGet shows no errors in the Diagnostic Center
.
What can I do to troubleshoot this issue?