I’m having some difficulty finding out how to publish NuGet packages to my private local NuGet feed. I found some questions on Stack Overflow about the same matter, but they all seem outdated.
I have some libraries I would like to automatically publish to my local feed (for example, “%LocalNugetFeed%” directory) when I build their projects in release mode. Or, would it be even possible using a publish profile, maybe?
From what I’ve read in the documentation, simply copying the package file to the local feed directory’s root is kind of not ideal, as it should use a hierarchic directory structure containing the package name and version. So, I have no idea of how to automate this.
How can I do that, or where can I find more information about it?