diff --git a/src/Prometheus.Client.DependencyInjection.csproj b/src/Prometheus.Client.DependencyInjection.csproj
index 4713d29..15c7c44 100644
--- a/src/Prometheus.Client.DependencyInjection.csproj
+++ b/src/Prometheus.Client.DependencyInjection.csproj
@@ -8,10 +8,10 @@
+ Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
+ Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
+ Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0" />
diff --git a/tests/Prometheus.Client.DependencyInjection.Tests.csproj b/tests/Prometheus.Client.DependencyInjection.Tests.csproj
index 54ffc74..2135e87 100644
--- a/tests/Prometheus.Client.DependencyInjection.Tests.csproj
+++ b/tests/Prometheus.Client.DependencyInjection.Tests.csproj
@@ -20,7 +20,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+