# Http server dotnet solution does not support dotnet 9

**URL:** <https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850>\
**Category:** Challenges\
**Tags:** challenge:http-server\
**Created:** [May 3, 2025, 10:05am UTC](https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850 "2025-05-03T10:05:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![inner](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/inner/32/4695_2.png) [@inner](https://forum.codecrafters.io/u/inner)\
**Post date:** [May 3, 2025, 10:05am UTC](https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850/1 "2025-05-03T10:05:11Z")

</div>

Hi,

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

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/f/f26c5a7e15a7132959f1e2d69fbfc956006a6492.png)

`csproj` file

```auto
<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

```auto
# 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 🙂 I think it should be updated on codecrafters side!

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [May 3, 2025, 7:36pm UTC](https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850/4 "2025-05-03T19:36:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![inner](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/inner/32/4695_2.png) [@inner](https://forum.codecrafters.io/u/inner)\
**Post date:** [May 4, 2025, 3:13pm UTC](https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850/6 "2025-05-04T15:13:38Z")

</div>

Thanks @andy1li

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [May 9, 2025, 3:14pm UTC](https://forum.codecrafters.io/t/http-server-dotnet-solution-does-not-support-dotnet-9/9850/7 "2025-05-09T15:14:05Z")

</div>

Closed on May 9, 2025, 3:14pm UTC

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