Skip to content

Commit 5958a02

Browse files
committed
[tests] Skip generating Directory.Packages.Versions.props for Test (#8621)
.. Utility projects.
1 parent ec6cacb commit 5958a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Shared/RepoTesting/Aspire.RepoTesting.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
</Target>
109109

110110
<!-- Generate before the build so the projects can use this in a <None ..> item -->
111-
<Target Name="_GeneratePackagesVersionsProps" BeforeTargets="BeforeBuild" Condition="'$(DeployOutsideOfRepoSupportFiles)' == 'true'">
111+
<Target Name="_GeneratePackagesVersionsProps" BeforeTargets="BeforeBuild" Condition="'$(DeployOutsideOfRepoSupportFiles)' == 'true' and '$(IsTestUtilityProject)' != 'true'">
112112
<!-- Duplicate all the @(PackageVersion) items with the evaluated versions -->
113113
<ItemGroup>
114114
<_PackageVersionEvaluated Include="@(PackageVersion -> '&lt;PackageVersion Include=&quot;%(Identity)&quot; Version=&quot;%(Version)&quot; /&gt;')" />

0 commit comments

Comments
 (0)