Couldn't find a project to run. Ensure a project exists in D:\home\site\wwwroot
From the docs
The dotnet run command is used in the context of projects, not built assemblies. If you're trying to run a framework-dependent application DLL instead, you must use dotnet without a command.
So try and run it like this
dotnet myproject.dll
I was having the same issue. Not sure if this is a work-around but it ran the code.
dotnet run --project name-of-your-project-here