-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Area-RunIssues relating to `dotnet run`Issues relating to `dotnet run`cli-uxIssues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)untriagedRequest triage from a team memberRequest triage from a team member
Description
Describe the bug
When a user passes in a file as the 'project' to build and this isn't a single-file-runnable file, we operate in 'project' mode. In that mode we try searching for a project in the directory specified by ./Program.cs
in this linked issue. We should have a more clear error here: if a user passes in something file-like and there's a) a matching file in CWD and b) we're in 'project' mode, we should tell them to not specify the project (or better yet, just run the project!).
To Reproduce
See linked issue.
Exceptions (if any)
Further technical details
- Include the output of
dotnet --info
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version
claudiaregio
Metadata
Metadata
Assignees
Labels
Area-RunIssues relating to `dotnet run`Issues relating to `dotnet run`cli-uxIssues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)Issues and PRs that deal with the UX of the CLI (exit codes, log output, verbs/options, and so on)untriagedRequest triage from a team memberRequest triage from a team member