dotnet / dotnet/Scaffolding

Invoking dotnet scaffold in an empty directory

Open
#3,101 6 comments 0 reactions 1 assignee Claimed by @sayedihashimi View on GitHub
area-dotnet-scaffolding customer-reported Triage-Approved
Dominant language
C#
Stars
818
Forks
260
Avg merge
1d 8h
Merged PRs (30d)
10

Description

## Ask a question

Right now when we do `dotnet scaffold` from a directory that doesn't contain a .NET project, we can interact with the tool, but nothing happens which of course makes sense as there is no .NET project.

In this case, should we throw an error message instead of letting users interact with the tool blindly? Because it's not a valid context for the tool.

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.