dotnet / dotnet/website-feedback

Will not "Run and Debug"

Open
#1,614 0 comments 0 reactions 0 assignees View on GitHub
area-tutorials needs-triage
Dominant language
No language data
Stars
7
Forks
57
PR merge metrics
No merged PRs in 30d

Description

### URL

https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/intro

### Operating system

windows

### More information about your system

Device Name DESKTOP-5H5US86
Processor 13th Gen Intel(R) Core(TM) i7-13850HX 2.30 GHz (2 processors)
Installed RAM 4.00 GB
Storage 150 GB SSD VMware Virtual NVMe Disk
Graphics Card VMware SVGA 3D (4 MB)
Device ID 3254204F-5CB3-480E-9FEA-FE33DEDD963C
Product ID 00330-80839-22492-AA051
System Type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

### Description

* Executing task: dotnet: build c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj

dotnet build c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj /property:GenerateFullPaths=true /p:Configuration=Debug /p:Platform=AnyCPU /consoleloggerparameters:NoSummary
C# extension build result service is available.
Determining projects to restore...
c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: No such host is known. (api.nuget.org:443)
c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: No such host is known.
Failed to restore c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj (in 11.23 sec).

Build FAILED.

c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: No such host is known. (api.nuget.org:443)
c:\Users\Windows VM\source\repos\BlazorApp\BlazorApp\BlazorApp.csproj : error NU1301: No such host is known.
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:12.02

* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.

### dotnet --info

Microsoft Windows [Version 10.0.19045.6466]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Windows VM>dotnet --info
.NET SDK:
Version: 10.0.302
Commit: 35b593bebf
Workload version: 10.0.300-manifests.714b12c0
MSBuild version: 18.6.11+35b593beb

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.302\

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.10
Architecture: x64
Commit: f7d90799ce

.NET SDKs installed:
8.0.101 [C:\Program Files\dotnet\sdk]
10.0.302 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.29 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

C:\Users\Windows VM>

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the tutorial URL and the reported `dotnet build` output for `BlazorApp.csproj`, especially the NU1301 failure resolving api.nuget.org. Check whether the failure is specific to the tutorial or the reported Windows environment; done would require the tutorial project to restore, build, and run through Run and Debug.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.