-
Notifications
You must be signed in to change notification settings - Fork 1
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
dotnet watch can't work #258
Comments
Can you clarify the method you use to install .NET on Linux? @danroth27 any ideas? |
My best guess is some step was missed when installing the .NET SDK. Once we hear back on how the install was, done we can try to reproduce the issue. |
Actually, I investigated this with @richlander, and it looks like on Arch Linux you need to install the ASP.NET Core runtime separately using the aspnet-runtime package. @mcxufly Can you give that a try?: @richlander We should probably update our Install .NET on Linux with some instructions on how to get set up on Arch Linux. |
For clarity, the following command will install .NET SDK, ASP.NET Core, and .NET runtime. sudo pacman -Sy dotnet-sdk aspnet-runtime |
@katiesavage I use pacman installed dotnet-sdk. I do not install package aspnet-runtime. I will install it and try again. |
I installed package aspnet-runtime, the blazor app run correctly. |
I'm glad this helped! Closing this issue now 🙂 |
@adegeo can you check the request for adding information to the docs here? |
Closing. We have dotnet/docs#42849 tracking the docs issue. |
URL
https://dotnet.microsoft.com/zh-cn/learn/aspnet/blazor-tutorial/run###
Operating system
linux
More information about your system
OS: Arch Linux x86_64
Kernel: 6.11.1-arch1-1
Description
I create a BlazorApp as the tutorial show, but command
dotnet watch
can't work.dotnet --info
.NET SDK:
Version: 8.0.402
Commit: 70aa751718
Workload version: 8.0.400-manifests.2772ffde
MSBuild version: 17.11.4+37eb419ad
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/8.0.402/
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5
.NET SDKs installed:
8.0.402 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.NETCore.App 8.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered: