mirror of
https://github.com/microsoft/autogen.git
synced 2025-09-03 13:27:41 +00:00

Restoring the grpc + Orleans server into the project ## Why are these changes needed? This is the distributed agent runtime for .NET that can manage routing messages amongst a fleet of grpc agent runtimes. ## Related issue number ## Checks - [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Co-authored-by: Jack Gerrits <jack@jackgerrits.com> Co-authored-by: Jacob Alber <jaalber@microsoft.com>
62 lines
2.5 KiB
XML
62 lines
2.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Aspire.Hosting.Testing" />
|
|
<PackageReference Include="coverlet.collector" />
|
|
<PackageReference Include="GitHubActionsTestLogger">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="MartinCostello.Logging.XUnit" />
|
|
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="System.Net" />
|
|
<Using Include="Microsoft.Extensions.DependencyInjection" />
|
|
<Using Include="Aspire.Hosting.ApplicationModel" />
|
|
<Using Include="Aspire.Hosting.Testing" />
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\samples\Hello\Hello.AppHost\Hello.AppHost.csproj" />
|
|
<ProjectReference Include="..\..\samples\Hello\HelloAgent\HelloAgent.csproj" />
|
|
<ProjectReference Include="..\Microsoft.AutoGen.Integration.Tests.AppHosts\HelloAgent.AppHost\HelloAgent.AppHost.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- Properties, Items, and targets to ensure Python apps are initialized -->
|
|
<PropertyGroup>
|
|
<PythonVirtualEnvironmentName>.venv</PythonVirtualEnvironmentName>
|
|
<PythonRoot>$(RepoRoot)..\python</PythonRoot>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Target Name="CreatePythonVirtualEnvironments" AfterTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<VenvDir>$(PythonVenvRoot)\$(PythonVirtualEnvironmentName)\</VenvDir>
|
|
<CreateVenv Condition="!Exists('$(VenvDir)')">True</CreateVenv>
|
|
<Uv>~/.local/bin/uv</Uv>
|
|
<CheckUvPath Condition="!Exists('$(Uv)')">True</CheckUvPath>
|
|
<UvPath Condition="'$(CheckUvPath)' == 'True'">uv</UvPath>
|
|
<UvPath Condition="'$(CheckUvPath)' == 'False'">$(Uv)</UvPath>
|
|
</PropertyGroup>
|
|
<Message Importance="Normal" Text="Initializing virtual environment for $(PythonVenvRoot)" />
|
|
|
|
<Exec Command="$(UvPath) sync --all-extras" WorkingDirectory="$(PythonRoot)" Condition=" '$(CreateVenv)' == 'True' " ConsoleToMsBuild="true">
|
|
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
|
|
</Exec>
|
|
<!--Message Importance="Normal" Text="$(OutputOfExec)" />-->
|
|
</Target>
|
|
|
|
|
|
</Project>
|