Http server dotnet solution does not support dotnet 9

Hi,

I’m trying to run codecrafters submit with the updated .csproj and codecrafters.yml files to target dotnet 9, I get this error:

csproj file

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net9.0</TargetFramework>
    <RootNamespace>codecrafters_http_server</RootNamespace>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>
</Project>

codecrafters.yml file

# Set this to true if you want debug logs.
#
# These can be VERY verbose, so we suggest turning them off
# unless you really need them.
debug: true

# Use this to change the C# version used to run your code
# on Codecrafters.
#
# Available versions: dotnet-6.0
language_pack: dotnet-9.0

My distribution does not support dotnet 6 anymore :slight_smile: I think it should be updated on codecrafters side!

Hey @inner, I’ve upgraded the buildpack for your HTTP repo to dotnet 9.0 and pushed a couple of commits.

You can run git pull to start using dotnet 9.0 now.

Thanks @andy1li

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.