Closed
Description
Describe the bug
When using VS2022 C# .Net 9, and add Nuget package Microsoft.SemanticKernel.Agents.AzureAI 1.48.0-preview and above. Calling GetAgentsClient() method will throw a compile error
using 1.47.0-preview does not have this error
Reference to type 'ConnectionProvider' claims it is defined in 'System.ClientModel', but it could not be found
The code we follow is in https://learn.microsoft.com/en-us/semantic-kernel/frameworks/agent/azure-ai-agent?pivots=programming-language-csharp#configuring-the-ai-project-client
Expected behavior
Compile the code successfully
Metadata
Metadata
Assignees
Type
Projects
Status
Sprint: In Progress