diff --git a/src/tests/OpenAI.Generators.SnapshotTests/OpenAI.Generators.SnapshotTests.csproj b/src/tests/OpenAI.Generators.SnapshotTests/OpenAI.Generators.SnapshotTests.csproj
index db485a08..c37681e2 100644
--- a/src/tests/OpenAI.Generators.SnapshotTests/OpenAI.Generators.SnapshotTests.csproj
+++ b/src/tests/OpenAI.Generators.SnapshotTests/OpenAI.Generators.SnapshotTests.csproj
@@ -26,7 +26,7 @@
   
   <ItemGroup>
     <PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing.MSTest" Version="1.1.1" />
-    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.7.0" />
+    <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />
     <PackageReference Include="Verify.MSTest" Version="22.5.0" />
     <PackageReference Include="Verify.SourceGenerators" Version="2.2.0" />
   </ItemGroup>