Debug button blacked out in Visual Studio 2019 in new project

Viewed 80

So I'm just starting to learn C# with the W3 school tutorial. I followed the instructions but I bumped into a wall when it came to debugging the automatically generated code example. The button is just blacked out and not working even if I press F5. I've made sure the right code or file is selected.

image: https://i.stack.imgur.com/YMyql.png

Thanks for the help in advance

1 Answers

So I found a solution to my problem I had to create the project as a Console app (.NET Framework). I created my project as Console application first one on this image. When I chose the second one the debugging worked fine

enter image description here

Related