You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some sample projects in this repo, such as the EverythingServer, won't currently build/run in a GitHub codespace without "fiddling".
Simply opening the repo in a codespace and attempting to run the EverythingServer gives this error:
I think that the default container image GitHub uses for codespaces includes .NET 8 (LTS) but not .NET 9 (STS), and that's what you get in this repo since there is no devcontainer.json to tell it otherwise.
I tried to simply change "global.json" to use the installed SDK (8.0.412) but that still fails because the EverythingServer.csproj specifies a TFM of .NET9.
One fix might be to add a devcontainer.json that includes both .NET 8 and .NET 9.