Skip to content

Sample projects in this repo should "just work" in GitHub codespaces #853

@mikekistler

Description

@mikekistler

Describe the bug

The EverythingServer fails to run in a GitHub codespace. This is a regression, as it was working after the fix to #776 was merged, but is now broken again.

To Reproduce

Open a codespace on the main branch of the repo.

@mikekistler ➜ /workspaces/csharp-sdk (main) $ dotnet --list-sdks
8.0.413 [/usr/share/dotnet/sdk]
10.0.100-rc.1.25451.107 [/usr/share/dotnet/sdk]
@mikekistler ➜ /workspaces/csharp-sdk (main) $ cd samples/EverythingServer/
@mikekistler ➜ /workspaces/csharp-sdk/samples/EverythingServer (main) $ dotnet run
You must install or update .NET to run this application.

App: /workspaces/csharp-sdk/artifacts/bin/EverythingServer/net9.0/EverythingServer
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  8.0.19 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  10.0.0-rc.1.25451.107 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=9.0.0&arch=x64&rid=linux-x64&os=ubuntu.22.04
@mikekistler ➜ /workspaces/csharp-sdk/samples/EverythingServer (main) $ 

Expected behavior

Sample projects build and run successfully in codespaces

Additional context

Possibly broken by #822

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions