I have an open source project SystemWrapper. Someone recently asked me to add it to NuGet gallery. I had no problem to create a NuGet package. However, I cannot figure out how to add my package to NuGet Gallery.
Can someone point me to a link that describes how I can do that or tell me the steps I need to make.
I think the page at http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package may be what you're looking for.
The basic process appears to be to register for an account at NuGet.org, tell your local NuGet package manager your API key, then "push" your component.
Good luck!
Related
I tried to find the solution of my problem on google, many blogs and tried many suggestion but nothing is working.
My problem is like this:
TeamCity Solution Build is creating artifact and publishing it but the package version is not showing in visual studio package Manager Console and not even in Octopus Library External Feed test. Because of this all my builds are failing as octopus is not able to find the latest package which is being generated in the current build.
I dont remember making any change in setting or configuration of teamcity or octopus and this issue came up suddenly. Before this everything was working fine.
Can someone please help me in solving this issue as I'm stuck here?
I have already found an alternative which can be to push packages to Octopus repository and use the package from there but I dont want to change the configurations now and trying to fix this issue first.
I am wondering there is no benefit of uploading package on nuget then why people spent too much time to create a package and upload it on nuget?
Yes, We can distributes packages without using nuget.
But think:
How will you manage versions?
How will you Define dependencies for the packages?
Where you will explain technical specifications and documentation of package?
How will you know if your package is useful or not?
How will you know that how many times users has downloaded your package?
How will ensure to your user that your package is valid and went through security checksum?
If you have all the answers then there is no need of uploading packages on nuget.
Thanks
I have set up a small test Nuget private repository on my machine following this guide.
Everything is working perfectly and I can publish packages, update versions, download them etc. The only problem is that the DownloadCount of my packages is always 0 regardless of how many times I download it.
I downloaded NuGet source but could not find a place where this value is updated. Moreover, nuget does not seem to use any DB technology so probably the feed is just generated on demand from the contents of the Packages folder.
Does anyone have any idea if this is a known issue or if it's a problem in my setup or if I should just add some code to the server to record downloads myself?
Thanks!
NuGet.Server based web sites are simply a front-end exposing an OData feed on top of a file share. There's no real database behind it, no indexing, no auditing, tracing, metrics or statistics, or any of that kind of stuff.
You could build it yourself, or take a look at alternatives such as MyGet, ProGet, Artifactory, etc.
Having (presumably) understood the motivation behind Nuget, I want to know, whether we still require internet access to download a package which is already being downloaded earlier for different project in different solution?
I believe you can even set up your own feed stored on the file system as described here.
You can setup your own local NuGet repository as As Denis Ivin has already said.
NuGet also has its own local machine cache which keeps NuGet packages that you have installed previously (C:\Users[UserName]\AppData\Local\NuGet\Cache). You can install these by selecting the Recent packages tab in the Manage Packages dialog.
Having your own local NuGet repository is probably better since the cache could be cleared.
I am writing framework components for a project I am working on and I'm wondering if it's possible to host a NuGet package locally without a server so I'll be able to create a full release cycle just by using my computer.
If it's possible, please explain how to do it.
You can use a regular folder. More info here:
http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds