Closed hede closed 1 year ago
Hi, First thing I spotted was usage of a preview version of .net 7:
C:\Program Files\dotnet\sdk\7.0.100-rc.1.22431.12
Do you have 6.0 installed as well? global.json
should actually yell when found a version mismatch
Also, can you see if dotnet run -- Bundle
works for you?
Hello, Thank you for pointing that out. .net 7 preview was the problem apparently.
I had v.6.0.401 installed as well, and having checked the global.json, I just assumed it would be using .net 6. Needless to say, it wasn't actually using .net 6 😳 (I guess I shouldn't have assumed so self-convincingly!)
Changing the sdk version from 6.0
to 6.0.0
in global.json makes it actually pick and use .net 6.
I'll send a PR.
P.S.
dotnet run -- Bundle
doesn't work either (when using .net 7 preview)
and of course works fine with .net 6
Hello, I just installed the 4.1.0 template. dotnet run does not work out of the box.
The client fails with a bunch of "namespace or module not defined" errors:
The server seems to run. It stands a web server up at localhost:5000, but when I go there it's 404 (last 4 lines of the log).
Please let me know if there is something else you want me to try or to see the output of.
full log: