Skip to content

Couldn't find a project to run. Ensure a project exists in D:\C#, or pass the path to the project using --project. #5037

@Swarajsm

Description

@Swarajsm

Issue Title

I am trying to get started with C#. I have installed .Net SDK in my C drive (I think) and saved the hello world code sample in D drive. Whenever I try

dotnet run
I get this error message

General

Provide details on the problem you are experiencing including the .NET Core version, operating system version and anything else that is relevant.

Please provide a code sample for your issue if it is relevant, either inline, link to a gist (or similar) or add it as a zipped attachment.

For some issues, you will get a quicker and better response if you file it at a more specific .NET repo. For example, if the problem is with ASP.NET Core, you are encouraged to use the aspnet/home repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions