mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
a01e3f14b2
Extract hosted agent functionality from Microsoft.Agents.AI.Foundry into a new Microsoft.Agents.AI.Foundry.Hosting preview package. This resolves NU5104 build errors caused by the stable Foundry package depending on prerelease Azure SDK packages (Azure.AI.AgentServer.Responses, Azure.AI.Projects beta). Changes: - Create Microsoft.Agents.AI.Foundry.Hosting with VersionSuffix=preview, targeting .NET Core only (net8.0/9.0/10.0) - Move all Hosting/ source files to the new project - Move ToolboxRecord/ToolboxVersion overloads to FoundryAIToolExtensions - Revert Azure.AI.Projects to 2.0.0 in Directory.Packages.props; Hosting uses VersionOverride for 2.1.0-beta.1 - Clean V1 Foundry csproj: remove beta deps, ASP.NET Core ref, hosting conditionals - Update 8 hosted agent sample projects to reference Foundry.Hosting - Split unit tests: ToolboxRecord/ToolboxVersion tests moved to Hosting/ - Add Foundry.Hosting to solution file Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net10.0</TargetFrameworks>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
|
|
<RootNamespace>HostedLocalTools</RootNamespace>
|
|
<AssemblyName>HostedLocalTools</AssemblyName>
|
|
<NoWarn>$(NoWarn);</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Azure.AI.Projects" VersionOverride="2.1.0-beta.1" />
|
|
<PackageReference Include="Azure.Identity" />
|
|
<PackageReference Include="DotNetEnv" />
|
|
</ItemGroup>
|
|
|
|
<!-- For contributors: uses ProjectReference to build against local source -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.Foundry\Microsoft.Agents.AI.Foundry.csproj" />
|
|
<ProjectReference Include="..\..\..\..\..\src\Microsoft.Agents.AI.Foundry.Hosting\Microsoft.Agents.AI.Foundry.Hosting.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- For end-users: uncomment the PackageReference below and remove the ProjectReference above
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Agents.AI.Foundry" Version="1.0.0" />
|
|
<PackageReference Include="Microsoft.Agents.AI.Foundry.Hosting" Version="1.0.0" />
|
|
</ItemGroup>
|
|
-->
|
|
|
|
</Project>
|