dotnet / dotnet/Scaffolding

dotnet scaffold is stuck

Open
#3,154 10 comments 0 reactions 0 assignees View on GitHub
area-dotnet-scaffolding Triage-MoreInfo
Dominant language
C#
Stars
818
Forks
260
Avg merge
1d 8h
Merged PRs (30d)
10

Description

Hello, I wanted to try dotnet-scaffold but it seems the scaffold command is stuck.
I left it open for +/- 10 minutes without any output.

After running the command it just hangs on "Discovering scaffolders"

![Image](https://github.com/user-attachments/assets/0b17d23e-0983-49fa-b724-a467a55fda49)

What I tried:
- I tried several command lines (windows terminal, windows cmd, warp) but these all have the same behavior.
- I also tried to uninstall and reinstall the command, but with the same result.

I can reproduce it with the following steps:

```cs
➜ MyWebApp dotnet tool install --global Microsoft.dotnet-scaffold
You can invoke the tool using the following command: dotnet-scaffold
Tool 'microsoft.dotnet-scaffold' (version '9.0.1') was successfully installed.
➜ MyWebApp dotnet --version
9.0.200
➜ MyWebApp dotnet scaffold
```

Maybe related, but previously I also had the CLI tool from QuestPDF installed (https://www.questpdf.com/document-previewer.html#installation), and while running `dotnet scaffold` it opened the QuestPDF preview screen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.