dotnet / dotnet/core

error CS8802: Only one compilation unit can have top-level statements. [C:\Users\16251\16251.csproj] The build failed. Fix the build errors and run again.

Open
#8,566 0 comments 0 reactions 0 assignees View on GitHub
area-tutorials
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

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.

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.