简体   繁体   中英

Why can't I write any code after starting a console application on Visual Studio for C#?

Using Visual Studio for Mac Community Version 7.4.3 (build 10), I start a new project ("solution"), choose .NET Core App, then Console Application. After opening the new project, I get a greyed-out page with nowhere to type my code. Am I supposed to open a C# file within this solution? If so, what kind do I need if I'm looking to make a hello-world style file that will run on Visual Studio's console?

Make sure you have the Program.cs file open. That is what you edit.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM