CommunityToolkit / Graph-Controls

Set of Helpers and Controls for Windows development using the Microsoft Graph.
https://docs.microsoft.com/en-us/windows/communitytoolkit/graph/overview
Other
155 stars 39 forks source link

Error related to "https://pkgs.dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging/WindowsCommunityToolkit-MainLatest/nuget/v3/index.json" #137

Closed zipswich closed 3 years ago

zipswich commented 3 years ago

This is probably related to #102. Since I am unable to comment there, I am asking the question here. I updated VS 16.10.4 earlier. I am getting the following error when I try to update NuGet packages:

Attempting to gather dependency information for package 'Uno.UI.3.9.1' with respect to project 'UtilityDesktop', targeting '.NETFramework,Version=v4.6.1' Unable to load the service index for source https://pkgs.dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging/WindowsCommunityToolkit-MainLatest/nuget/v3/index.json. Response status code does not indicate success: 401 (Unauthorized).

I can access "https://pkgs.dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging/WindowsCommunityToolkit-MainLatest/nuget/v3/index.json" with the same Microsoft credential that I use in VS. Is this a VS issue? Does anyone else have the same issue with "https://pkgs.dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging/WindowsCommunityToolkit-MainLatest/nuget/v3/index.json"?

ghost commented 3 years ago

Hello zipswich, thank you for your interest in Graph Controls!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

azchohfi commented 3 years ago

This is pointing to the old WindowsCommunityToolkit feed. That feed was renamed since the org name has changed. Just rename the feed, removing the word Windows from it. Btw, is this the latest commit from the main branch? It has already been fixed in another PR: https://github.com/CommunityToolkit/Graph-Controls/blob/main/nuget.config#L6 Maybe you are just missing a git pull?

shweaver-MSFT commented 3 years ago

The dev branch was missing this, but I updated it earlier today. Both branches should be in good shape now.

This wiki page has the links for reference: https://github.com/CommunityToolkit/WindowsCommunityToolkit/wiki/Preview-Packages

zipswich commented 3 years ago

Thank you all for the help. I am using "https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-MainLatest/nuget/v3/index.json" as suggested, and all problems are gone.