mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
9a47620f64
* Bump HostedAgents samples to AgentFramework beta.11 and pass credential to UseFoundryTools Update all 8 HostedAgents samples: - Azure.AI.AgentServer.AgentFramework -> 1.0.0-beta.11 - Microsoft.Agents.AI.OpenAI -> 1.0.0-rc4 - Microsoft.Agents.AI/AzureAI/Workflows -> 1.0.0-rc4 - Azure.AI.Projects -> 2.0.0-beta.1 - Fix Workflow.AsAgent() -> AsAIAgent() in FoundryMultiAgent - Pass credential to UseFoundryTools in AgentWithTools (resolves #56802) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove AgentWithTools sample (UseFoundryTools no longer supported) Remove the AgentWithTools hosted agent sample as the UseFoundryTools backend is no longer supported. Updated HostedAgents README and solution file to remove all references. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix AgentWithHostedMCP: downgrade Azure.AI.OpenAI to 2.8.0-beta.1 for rc4 compatibility Azure.AI.OpenAI 2.9.0-beta.1 has breaking changes (GetResponsesClient no longer accepts deployment name, ResponsesClient.Model removed) that are incompatible with Microsoft.Agents.AI.OpenAI rc4. Pin to 2.8.0-beta.1 and use GetResponsesClient(deploymentName).AsAIAgent() pattern. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
70 lines
3.4 KiB
XML
70 lines
3.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFrameworks>net10.0</TargetFrameworks>
|
|
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<NoWarn>$(NoWarn);MEAI001</NoWarn>
|
|
|
|
<!--
|
|
Disable central package management for this project.
|
|
This project requires explicit package references with versions specified inline rather than
|
|
inheriting them from Directory.Packages.props. This is necessary because a Docker image will
|
|
be created from this project, and the Docker build process only has access to this folder
|
|
and cannot access parent folders where Directory.Packages.props resides.
|
|
-->
|
|
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Remove analyzer PackageReference items inherited from Directory.Packages.props.
|
|
Note: ManagePackageVersionsCentrally only controls PackageVersion items, not PackageReference items.
|
|
Directory.Packages.props contains both PackageVersion and PackageReference entries for analyzers,
|
|
and the PackageReference items are always inherited through MSBuild imports regardless of the
|
|
ManagePackageVersionsCentrally setting. We must explicitly remove them before adding our own versions.
|
|
-->
|
|
<ItemGroup>
|
|
<PackageReference Remove="Microsoft.CodeAnalysis.NetAnalyzers" />
|
|
<PackageReference Remove="Microsoft.VisualStudio.Threading.Analyzers" />
|
|
<PackageReference Remove="xunit.analyzers" />
|
|
<PackageReference Remove="Moq.Analyzers" />
|
|
<PackageReference Remove="Roslynator.Analyzers" />
|
|
<PackageReference Remove="Roslynator.CodeAnalysis.Analyzers" />
|
|
<PackageReference Remove="Roslynator.Formatting.Analyzers" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Azure.AI.AgentServer.AgentFramework" Version="1.0.0-beta.11" />
|
|
<PackageReference Include="Azure.AI.OpenAI" Version="2.9.0-beta.1" />
|
|
<PackageReference Include="Azure.Identity" Version="1.17.1" />
|
|
<PackageReference Include="Microsoft.Agents.AI.OpenAI" Version="1.0.0-rc4" />
|
|
</ItemGroup>
|
|
|
|
<!-- Add analyzers with compatible versions -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.100">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Roslynator.Analyzers" Version="4.14.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Roslynator.CodeAnalysis.Analyzers" Version="4.14.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Roslynator.Formatting.Analyzers" Version="4.14.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|