Foomf
I made a new project with "dotnet new" and VS Code already doesn't understand the project structure.
I eventually found this stackoverflow: https://stackoverflow.com/questions/75572318/problem-on-configuring-vscode-for-c-it-doesnt-generate-launch-json-and-tasks which is slightly different, but the suggested "generate assets" command did the trick
31 replies
I made a new project with "dotnet new" and VS Code already doesn't understand the project structure.
Just last night vs code managed to generate a launch.json that found my project's entry point and everything, and then tonight I can't get it to do it, and I don't know what I'm doing differently this night than what I did last night.
31 replies
I made a new project with "dotnet new" and VS Code already doesn't understand the project structure.
I'm expecting to see "Hello World!" in my debug console when I hit f5. That doesn't happen and from your screenshot I can't tell if it happened for you or not.
31 replies
❔ ServiceBase question: is Main() or OnStart() my entry point?
Upon reading the docs https://learn.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicebase.run?view=netframework-4.8 it looks like
Main()
is still my entry point.4 replies