Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for private repositories #47

Open
KristianHebert opened this issue Oct 31, 2024 · 11 comments
Open

Support for private repositories #47

KristianHebert opened this issue Oct 31, 2024 · 11 comments

Comments

@KristianHebert
Copy link

We use Azure Devops, with a private library for internal packages. NuGetMonitor has some trouble dealing with these.

In the main window, the "Available Versions" just says "Loading...", indefinately.
billede

In the dependency tree, the packages from the private repo are just omitted.

Please keep up the good work, love the extension.

@tom-englert
Copy link
Contributor

Private reops must be listed in your nuget.config file. If they are password protected, you must also provide the credentials in the nuget.config: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source

@KristianHebert
Copy link
Author

KristianHebert commented Oct 31, 2024

It is in the nuget.config, and it works in the built-in Visual Studio NuGet Manager.

billede

@tom-englert
Copy link
Contributor

tom-englert commented Oct 31, 2024

I'm not sure if clear-text password is supported

Visual Studio has its own internal authentication, not related to nuget.config

@KristianHebert
Copy link
Author

I don't know why it's a clear text password. I just added the repo to visual studio options.

billede

@tom-englert
Copy link
Contributor

Just follow the instructions in the link

@KristianHebert
Copy link
Author

I cannot get it to work with the dotnet command, maybe it's because it's microsoft auth?

billede

@tom-englert
Copy link
Contributor

NuGetMonitor is using the official NuGet Client, so when this works from the command line, it should work here, too.
And maybe you have to restart VS for the changes to apply?

@KristianHebert
Copy link
Author

I've been restarting VS many times in my efforts to make it work.
is there a log somewhere that could help me with understanding what is wrong?

@KristianHebert
Copy link
Author

According to this: https://learn.microsoft.com/en-us/azure/devops/artifacts/nuget/nuget-exe?view=azure-devops, a relatively new nuget client is needed to connect to a devops library. Could that be the issue?

@KristianHebert
Copy link
Author

It seems that it sometimes loads some of the packages.
billede
I happen to know that the local repository is much slower than fx Nuget.org. Could that be the issue?

Also, note that it wants to "update" version 23.1.9 to version 1.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants