From f062ed4f633e7119bdce3781c744159674d80c51 Mon Sep 17 00:00:00 2001 From: Ben Thomas Date: Tue, 21 Apr 2026 08:43:55 -0700 Subject: [PATCH] .NET: Hosted agent adapter (#5406) * Bump preview version to 260420.1 and fix AgentServer package deps - Bump PackageVersion to 0.0.1-preview.260420.1 - Bump Azure.AI.AgentServer.Core beta.21 -> beta.22 (required by Azure.AI.AgentServer.Responses beta.3) - Replace AgentHostTelemetry.ResponsesSourceName with local constant (type made internal in AgentServer.Core beta.22) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix CA1873: guard LogError with IsEnabled check in FoundryToolboxService Wrap the LogError call with an IsEnabled(LogLevel.Error) guard to satisfy the CA1873 analyzer rule which flags potentially expensive argument evaluation when logging is disabled. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Bumping NuGet version * Restore conditional versioning, remove dev feed, bump Azure.AI.Projects to beta.1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: alliscode Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- dotnet/Directory.Packages.props | 4 ++-- dotnet/nuget.config | 10 ++-------- dotnet/nuget/nuget-package.props | 19 +++++++++++-------- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index 0dd890948a..184af82c76 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -22,7 +22,7 @@ - + @@ -193,4 +193,4 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - \ No newline at end of file + diff --git a/dotnet/nuget.config b/dotnet/nuget.config index 2316305f8e..128d95e590 100644 --- a/dotnet/nuget.config +++ b/dotnet/nuget.config @@ -1,18 +1,12 @@ - + - - - - - - - \ No newline at end of file + diff --git a/dotnet/nuget/nuget-package.props b/dotnet/nuget/nuget-package.props index 18b4b13247..d1a3d1056e 100644 --- a/dotnet/nuget/nuget-package.props +++ b/dotnet/nuget/nuget-package.props @@ -1,19 +1,21 @@ - 0.0.1 + 1.1.0 1 - - $(VersionPrefix)-preview.260420.2 - 0.0.1 + $(VersionPrefix)-rc$(RCNumber) + $(VersionPrefix)-$(VersionSuffix).260410.1 + $(VersionPrefix)-preview.260410.1 + $(VersionPrefix) + 1.1.0 Debug;Release;Publish - true 1.0.0 - + + true $(NoWarn);CP0003 @@ -27,7 +29,8 @@ low - + + Microsoft Microsoft @@ -68,7 +71,7 @@ - + true