Skip to content

Commit 30e0126

Browse files
authored
[tests] Skip generating Directory.Packages.Versions.props for Test (#8621)
.. Utility projects.
1 parent 9c80a46 commit 30e0126

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
@@ -102,7 +102,7 @@
102102
</Target>
103103

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

0 commit comments

Comments
 (0)