You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <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>
- <PythonVenvRoot>$(RepoRoot)..\python</PythonVenvRoot>
-
- </PropertyGroup>
-
- <Target Name="CreatePythonVirtualEnvironments" AfterTargets="PrepareForBuild">
- <PropertyGroup>
- <VenvDir>$(PythonVenvRoot)\$(PythonVirtualEnvironmentName)\</VenvDir>
- <CreateVenv Condition="!Exists('$(VenvDir)')">True</CreateVenv>
- </PropertyGroup>
- <Message Importance="Normal" Text="Initializing virtual environment for $(PythonVenvRoot)" />
-
- <Exec Command="uv sync --all-extras" WorkingDirectory="$(PythonVenvRoot)" Condition=" '$(CreateVenv)' == 'True' " />
- </Target>
-
-
- </Project>
|