Question 1: I'm using VSTS internal nuget server, I have some problem while playing with it.
Now I have a build definition publishing to VSTS internal package server as below, where I set --version-suffix as build number
After build and publish package per VSTS build, the new packages with suffix should all have been successfully pushed to the server - at least from the log,
Yet don’t know why, none of them were reflected correctly in the package list, only Common.Test which I removed before the build,
Question 2: How in the setting I can ignore *.test.csproj for “dotnet pack”?
Question 3: We’re using internal package server, now the interesting thing is, I cannot find a way with “dotnet restore” to get from any nuget config, or internal nuget feed, when this supports internal nuget server/nuget.config as “nuget restore”?
dotnet pack
command is used for pack.csproj
into a nuget package docs.microsoft.com/en-us/dotnet/core/tools/dotnet-pack. But it seems your donet core is based on VS2015 with.xproj
. So please convert it to VS2017 at first. – Marina Liu*.csproj
in dotnet pack? – Marina Liudotnet pack *.sln
. Did you use other steps to generate .nupkg except the task you showed in screen shot? – Marina Liu