Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

@github-actions github-actions bot changed the title Remove unnecessary PackageReferences after .NET 10 update .NET: Remove unnecessary PackageReferences after .NET 10 update Nov 22, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cleans up unnecessary PackageReferences following the .NET 10 update. The changes remove packages that are now included in the .NET 10.0 framework, reducing dependencies while maintaining backward compatibility with earlier framework versions.

Key changes:

  • Removed System.Net.ServerSentEvents, Microsoft.Bcl.AsyncInterfaces, and System.Text.Json package references that are now part of .NET 10.0
  • Removed conditional ItemGroups that contained only these now-unnecessary packages
  • Retained System.Linq.AsyncEnumerable in conditional blocks for pre-.NET 10.0 framework support

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests.csproj Removed version override for System.Net.ServerSentEvents
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.UnitTests.csproj Removed Microsoft.Bcl.AsyncInterfaces and System.Text.Json from conditional package references
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.IntegrationTests.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents
Microsoft.Agents.AI.Abstractions.UnitTests.csproj Removed Microsoft.Bcl.AsyncInterfaces and System.Text.Json from conditional package references
Microsoft.Agents.AI.AGUI.UnitTests.csproj Removed unconditional package references for System.Net.ServerSentEvents, Microsoft.Bcl.AsyncInterfaces, and System.Text.Json
Microsoft.Agents.AI.A2A.UnitTests.csproj Removed unconditional ItemGroup containing System.Net.ServerSentEvents and Microsoft.Bcl.AsyncInterfaces
AgentConformance.IntegrationTests.csproj Removed Microsoft.Bcl.AsyncInterfaces and System.Text.Json from conditional package references
Microsoft.Agents.AI.Hosting.OpenAI.csproj Removed System.Net.ServerSentEvents and System.Text.Json from conditional package references
Microsoft.Agents.AI.Hosting.AGUI.AspNetCore.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents and System.Text.Json
Microsoft.Agents.AI.Hosting.A2A.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents
Microsoft.Agents.AI.Hosting.A2A.AspNetCore.csproj Removed System.Net.ServerSentEvents and System.Text.Json from conditional package references
Microsoft.Agents.AI.AGUI.csproj Removed unconditional Microsoft.Bcl.AsyncInterfaces package reference
Microsoft.Agents.AI.A2A.csproj Removed unconditional package references for System.Net.ServerSentEvents and Microsoft.Bcl.AsyncInterfaces
Agent_MCP_Server_Auth.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents
Agent_Step10_AsMcpTool.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents
A2AAgent_AsFunctionTools.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents and Microsoft.Bcl.AsyncInterfaces
A2AClient.csproj Removed conditional ItemGroup containing System.Net.ServerSentEvents and Microsoft.Bcl.AsyncInterfaces

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 3, 2025
@stephentoub stephentoub added this pull request to the merge queue Dec 4, 2025
Merged via the queue into microsoft:main with commit 9c2e800 Dec 4, 2025
14 checks passed
This was referenced Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants