News for hackers. Stuff that matters.
Re:The Case for C# and .NET by manigandham on Monday July 25, 2022 @05:02AM (#32222085)
You don't have to use Nuget.org, it's just the public community version of a Nuget package repo.

You can use your own private repos like MyGet[1] or Github Packages [2].

1. https://www.myget.org/ 2. https://docs.github.com/en/packages/working-with-a-github-pa...

Re:The Case for C# and .NET by sandreas on Monday July 25, 2022 @06:34AM (#32222638)
Yeah I know all this, you can even use BaGet[1] symbol server to cache or manage private dependencies in an enterprise network. That is not the point... I think that the most used tool / platform should provide more flexibility for non-enterprise or less expierienced developers.

No offense, I like nuget, but I recently made a typo and checked in 0.0.23 instead of 0.0.2. Now, everytime I add a dependency that is < 0.0.23 to a project, that has not been synchronized / validated yet (the other problem I described), it automatically takes the best match, which is 0.0.23 assuming to be the newest package, even if unlisted.

I also burned a 1.0.0 because of a failing script like that... not really bad, but annoying...

https://github.com/loic-sharma/BaGet

Re:The Case for C# and .NET by Kuinox on Monday July 25, 2022 @09:20AM (#32223851)
FYI Nuget also work with folders.

Drop nupkg in a folder, use it as a source, you now have a "feed".

Re:The Case for C# and .NET by metaltyphoon on Monday July 25, 2022 @08:36AM (#32223466)
Why not just setup a local feed?