program not running
- Dominant language
- C#
- Stars
- 3.2k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
Warning: 'Program.cs' appears to be a file-based app but was passed as an argument to the project 'C:\Users\User\vscode\myfirstconsoleapp\myfirstconsoleapp.csproj'. To run it as a file-based app, use 'dotnet run --file Program.cs'. To pass it as an application argument, use 'dotnet run -- Program.cs' to suppress this warning.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported dotnet run invocation with Program.cs and the referenced myfirstconsoleapp.csproj, then trace how the CLI distinguishes file-based apps from application arguments. Done means explaining or correcting the reported behavior so the program runs as intended without the unexpected warning, with a regression test if the repository has one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100