diff --git a/examples/demo/Client/Examples.Client.csproj b/examples/demo/Client/Examples.Client.csproj
index fb76edd0d4..f67f521030 100644
--- a/examples/demo/Client/Examples.Client.csproj
+++ b/examples/demo/Client/Examples.Client.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net8.0
enable
diff --git a/examples/demo/Dockerfile b/examples/demo/Dockerfile
index 720b562163..ea9126b829 100644
--- a/examples/demo/Dockerfile
+++ b/examples/demo/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:6.0-jammy
+FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy
# install OpenTelemetry .NET Automatic Instrumentation
ARG OTEL_VERSION=1.4.0
diff --git a/examples/demo/Service/Examples.Service.csproj b/examples/demo/Service/Examples.Service.csproj
index aa1b4813b7..82008da538 100644
--- a/examples/demo/Service/Examples.Service.csproj
+++ b/examples/demo/Service/Examples.Service.csproj
@@ -1,7 +1,7 @@
- net6.0
+ net8.0
enable