Skip to content

Get "Exited with error code 139. Waiting for a file to change before restarting dotnet..." after dotnet new and dotnet watch #7847

@kunlinyu

Description

@kunlinyu

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/run
Operating System: linux

OS: Ubuntu 20.04.4 LTS
dotnet: 6.0.401
command: dotnet new webapp -o MyWebApp --no-https -f net6.0 && cd MyWebApp && dotnet watch
result:

dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload.
💡 Press "Ctrl + R" to restart.
dotnet watch 🔧 Building...
Determining projects to restore...
All projects are up-to-date for restore.
MyWebApp -> /home/yukunlin/ws/MyWebApp/bin/Debug/net6.0/MyWebApp.dll
dotnet watch 🚀 Started

dotnet watch ❌ Exited with error code 139
dotnet watch ⏳ Waiting for a file to change before restarting dotnet...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions