Skip to content

Commit

Permalink
Fix build issue due to incorrect handling of stable packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr committed Apr 18, 2024
1 parent 604164a commit 7406fdf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/Aspire.EndToEnd.Tests/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project>
<Import Project="..\Directory.Build.targets" />

<!-- Overriding this target which is originally defined in the Microsoft.Net.Runtime.WorkloadTesting.Internal package, given
it makes assumptions of which package version should be set when packages are being stabalized which is specific to the dotnet/runtime repo. -->
<Target Name="_SetPackageVersionForWorkloadsTesting">
<PropertyGroup>
<!-- Used for workload testing -->
<PackageVersionForWorkloadManifests>$(VersionPrefix)</PackageVersionForWorkloadManifests>
</PropertyGroup>

<Error Condition="'$(PackageVersionForWorkloadManifests)' == ''"
Text="%24(PackageVersionForWorkloadManifests) is not set. PackageVersion=$(PackageVersion)." />
</Target>
</Project>

0 comments on commit 7406fdf

Please sign in to comment.