Skip to content

A programming framework for agentic AI

1022 B
Raw Blame
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ContainerRepository>autogen-host</ContainerRepository>
    <ContainerFamily>alpine</ContainerFamily>
    <EnableSdkContainerSupport>true</EnableSdkContainerSupport>

    <PackAsTool>true</PackAsTool>
    <ToolCommandName>agenthost</ToolCommandName>
    <PackageOutputPath>./nupkg</PackageOutputPath>
  </PropertyGroup>
  


  <Import Project="$(RepoRoot)/nuget/nuget-package.props" />

  <ItemGroup>
    <ContainerEnvironmentVariable Include="ASPNETCORE_HTTP_PORTS" Value="5001" />
    <ContainerPort Include="5001" Type="tcp" />
  </ItemGroup>
  <ItemGroup>
	   <PackageReference Include="Microsoft.Extensions.Hosting" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\RuntimeGateway.Grpc\Microsoft.AutoGen.RuntimeGateway.Grpc.csproj" />
    <ProjectReference Include="..\Extensions\Aspire\Microsoft.AutoGen.Extensions.Aspire.csproj" />
  </ItemGroup>
</Project>