diff --git a/Dockerfile b/Dockerfile
index 668f7b6f6..c3798aac6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@
#
# See CONTRIBUTING.md
#
-FROM mcr.microsoft.com/dotnet/sdk:7.0
+FROM mcr.microsoft.com/dotnet/sdk:9.0
ENV DEBIAN_FRONTEND=noninteractive
diff --git a/dotnet/Gherkin/Gherkin.csproj b/dotnet/Gherkin/Gherkin.csproj
index 3de038f30..2ee4f6483 100644
--- a/dotnet/Gherkin/Gherkin.csproj
+++ b/dotnet/Gherkin/Gherkin.csproj
@@ -33,7 +33,7 @@
-
+