-
Notifications
You must be signed in to change notification settings - Fork 40
Description
REGRESSION INFO: Not a regression
INSTALL STEPS
- OS: Linux x64
- Install the SDK 10.0.101
- Install VS Code stable - 1.107.0
- Install release C# DK1.90.2(include C#2.110.4)
Platform
- Windows
- macOS
- Linux
REPRO STEPS
- Open vs code > Create .NET Project >Blazor Web App ~ WebAssembly ~Per page/component
- Right click BlazorApp project in solution explorer and select "Open In Integrated Terminal", type "dotnet watch"
Note:
- This issue works well when use command to create project
- This issue works well for windows x64
- This issue works well for Blazor Web App ~ Server ~Per page/component and Blazor Web App ~ Server ~Global project.
- This issue repro for Blazor Web App ~ webassembly~Global and Blazor Web App ~ auto.
ACTUAL An unexpected error occurred: System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached.
log:
dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
dotnet watch 💡 Press Ctrl+R to restart.
dotnet watch 🔨 Building /home/parallels/18/BlazorApp1/BlazorApp1/BlazorApp1.csproj ...
dotnet watch 🔨 Build succeeded: /home/parallels/18/BlazorApp1/BlazorApp1/BlazorApp1.csproj
Using launch settings from /home/parallels/18/BlazorApp1/BlazorApp1/Properties/launchSettings.json...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://localhost:5041
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
Content root path: /home/parallels/18/BlazorApp1/BlazorApp1
Gtk-Message: 00:14:14.776: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
dotnet watch ⌚ [BlazorApp1 (net10.0)] Exited
dotnet watch � An unexpected error occurred: System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.
at System.IO.FileSystemWatcher.StartRaisingEvents()
at Microsoft.DotNet.Watch.EventBasedDirectoryWatcher.set_EnableRaisingEvents(Boolean value)
at Microsoft.DotNet.Watch.FileWatcher.Watch(IEnumerable1 filePaths, Boolean containingDirectories, Boolean includeSubdirectories) at Microsoft.DotNet.Watch.FileWatcher.WatchFiles(IEnumerable1 filePaths)
at Microsoft.DotNet.Watch.EvaluationResult.WatchFiles(FileWatcher fileWatcher)
at Microsoft.DotNet.Watch.HotReloadDotNetWatcher.WatchAsync(CancellationToken shutdownCancellationToken)
at Microsoft.DotNet.Watch.HotReloadDotNetWatcher.WatchAsync(CancellationToken shutdownCancellationToken)
at Microsoft.DotNet.Watch.Program.RunAsync()
parallels@ubuntu-linux-22-04-02-desktop:~/18/BlazorApp1/BlazorApp1$
EXPECTED No error up