Nuget - how to publish to account/project feed?
According to the documentation:
"When it is enabled AppVeyor calls nuget pack for every project in the solution that has a .nuspec file in its root and then publishes NuGet package artifacts in both project and account feeds."
Should this happen automagically, or do you need to set it up in the deployment as well? We get the package file, but we can't find it in neither the project or accound feed.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 06 Nov, 2014 06:48 PM
True, whenever
*.nupkg
files pushed to build artifacts they get published in account and project NuGet feeds. Do you see them on build "Artifacts" tab?Also, to list packages in the feed use the following command:
2 Posted by davew on 13 Jan, 2015 11:46 PM
Hi Feodor,
I was having a similar problem to Vegard. I couldn't see release versions until I specified the
-allversions
flag on the command line.I don't know if it's worth mentioning in the documentation that:
-allversions
needs to be specified on the command line to see release versionsDave
3 Posted by davew on 13 Jan, 2015 11:55 PM
Actually I spoke to soon. I'm still not seeing anything in the feed in Visual Studio even though there are items only present from the command line when the
-allversions
flag is used.Any ideas?
Dave
Support Staff 4 Posted by Feodor Fitsner on 13 Jan, 2015 11:58 PM
Hi Dave,
Will take a look. What's the name (URL) of that feed and what package ID and their version you are expecting to see?
5 Posted by davew on 14 Jan, 2015 12:11 AM
I cleared down my account feed and rebuilt a stable version and can now see it in Visual Studio.
Dave
6 Posted by davew on 14 Jan, 2015 12:13 AM
So a little more detail:
-allversions
, but couldn't see it in Visual StudioDave
Support Staff 7 Posted by Feodor Fitsner on 14 Jan, 2015 04:01 AM
Hm, I see - good scenario.
Every time a new package pushed into feed "last version" and "absolute last versions" are recalculated. Maybe there is something wrong with that. Will take a look.
8 Posted by davew on 14 Jan, 2015 09:01 AM
Feodor,
That would explain why even though I deleted prereleases past 1.0.0 (1.0.9-rc1 for example) I couldn't see 1.0.0 even after I removed all prereleases from the account feed.
Dave
Sent from my iPhone
Support Staff 9 Posted by Feodor Fitsner on 14 Jan, 2015 05:37 PM
Exactly. Will investigate and let you know about results.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.