CSharpShellApp icon indicating copy to clipboard operation
CSharpShellApp copied to clipboard

Top-level statements CS8805

Open 1ffycat opened this issue 2 years ago • 1 comments

Using top-level statements throws CS8805 "Program using top-level statements must be an executable.", although the Output type is set to Exe in project settings

1ffycat avatar Mar 03 '23 04:03 1ffycat

They are only supported for console applications. Microsoft don't allow .exe files in an Android APK, but I might be able to force that.

radimitrov avatar Mar 03 '23 14:03 radimitrov