Skip to content

dotnet run  #8514

@DFranc-D

Description

@DFranc-D

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run
Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

C:\Users\franc\MyApp\Program.cs(2,1): error CS8802: Only one compilation unit can have top-level statements. [C:\Users\franc\M
yApp\MyApp.csproj]

The build failed. Fix the build errors and run again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-tutorialsIssues related to getting started tutorials

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions