dotnet / website-feedback

This repo is for dot.net feedback including get started tutorial issues from the site.
MIT License
0 stars 1 forks source link

error - the build failed. #225

Open wpharaoh opened 2 months ago

wpharaoh commented 2 months ago

URL

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

Operating system

windows

More information about your system

The build failed. Fix the build errors and run again. dotnet watch ❌ Exited with error code 1 dotnet watch ⏳ Waiting for a file to change before restarting dotnet... dotnet watch 🛑 Shutdown requested. Press Ctrl+C again to force exit.

Description

i am not using VS only CLI , not sure how to find and fix the error

dotnet --info

.NET SDK: Version: 9.0.100-preview.7.24407.12 Commit: d672b8a045 Workload version: 9.0.100-manifests.a8e34f65 MSBuild version: 17.12.0-preview-24374-02+48e81c6f1

Runtime Environment: OS Name: Windows OS Version: 10.0.22631 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\9.0.100-preview.7.24407.12\

.NET workloads installed: Configured to use loose manifests when installing new manifests. There are no installed workloads to display. Host: Version: 9.0.0-preview.7.24405.7 Architecture: x64 Commit: static

.NET SDKs installed: 9.0.100-preview.7.24407.12 [C:\Program Files\dotnet\sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 9.0.0-preview.7.24406.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 9.0.0-preview.7.24405.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 9.0.0-preview.7.24405.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found: None Host: Version: 9.0.0-preview.7.24405.7 Architecture: x64 Commit: static

katiesavage commented 1 month ago

Could you send more information about the build errors?

@danroth27 any ideas?

danroth27 commented 1 month ago

Yeah, we need to see the specific build errors to understand what's going on.

@wpharaoh You could also try out .NET 8, which is the latest stable release. .NET 9 is still in preview.