Skip to content

Commit 5c07ca2

Browse files
committed
use IncludeTestUtilities instead of direct reference so duplicated ProjectReference isn't added
1 parent b95b2da commit 5c07ca2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/Shared/TemplatesTesting/Aspire.Shared.TemplatesTesting.targets

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44

55
<Import Project="$(MSBuildThisFileDirectory)..\Playwright\Playwright.targets" />
66

7+
<PropertyGroup>
8+
<!-- needed for the RequiresDocker attribute, and discoverer -->
9+
<IncludeTestUtilities>true</IncludeTestUtilities>
10+
</PropertyGroup>
711
<ItemGroup>
812
<Compile Include="$(MSBuildThisFileDirectory)*.cs" Link="TemplateTestingCommon" />
913

1014
<_DataFile Include="$(MSBuildThisFileDirectory)data\**\*" Link="testassets\%(RecursiveDir)%(FileName)%(Extension)" CopyToOutputDirectory="PreserveNewest" />
1115
<None Include="@(_DataFile)" />
1216

1317
<PackageReference Include="Polly.Core" />
14-
15-
<!-- needed for the RequiresDocker attribute, and discoverer -->
16-
<ProjectReference Include="$(RepoRoot)tests\Aspire.TestUtilities\Aspire.TestUtilities.csproj" />
1718
</ItemGroup>
1819
</Project>

0 commit comments

Comments
 (0)