microsoft / microsoft/WindowsAppSDK-Samples

Issue with nuget restore (Unable to load the service index for source ...Reunion.nuget.internal/nuget/v3/index.json)

Open
#385 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1k
Forks
335
Avg merge
5d 1h
Merged PRs (30d)
8

Description

I am receiving these errors when I try to build anything, and I don't know how to fix it.

23:11:04 C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-unpackaged  main ≡  ?1
6ms  dotnet build
  Determining projects to restore...
C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-unpackaged\winforms_unpackaged_app.csproj : error NU
1301: Unable to load the service index for source https://microsoft.pkgs.visualstudio.com/ProjectReunion/_packaging/Pro
ject.Reunion.nuget.internal/nuget/v3/index.json. [C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-un
packaged\winforms_unpackaged_app.sln]
  Failed to restore C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-unpackaged\winforms_unpackaged_a
  pp.csproj (in 8.27 sec).

Build FAILED.

C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-unpackaged\winforms_unpackaged_app.csproj : error NU
1301: Unable to load the service index for source https://microsoft.pkgs.visualstudio.com/ProjectReunion/_packaging/Pro
ject.Reunion.nuget.internal/nuget/v3/index.json. [C:\dev\!tmp\WindowsAppSDK-Samples\Samples\Windowing\cs\cs-winforms-un
packaged\winforms_unpackaged_app.sln]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:08.63

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with dotnet build in Samples/Windowing/cs/cs-winforms-unpackaged and inspect winforms_unpackaged_app.csproj and winforms_unpackaged_app.sln alongside the reported package source URL. Determine why restore cannot load that service index; done means the sample restores and builds without NU1301.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.