Hardcode path to test project in restore

This commit is contained in:
Jackson Schuster 2024-03-27 16:05:56 -07:00
parent 3981f8be75
commit 51572ba188

View file

@ -115,10 +115,10 @@
<Target Name="BuildUnifiedBuildValidationTests"
Condition="'$(ShortStack)' != 'true' and '$(PortableBuild)' == 'true' and '$(PgoInstrument)' != 'true'" >
<MSBuild Projects="$(UnifiedBuildValidationTestsProject)"
<MSBuild Projects="../../test/Microsoft.DotNet.UnifiedBuild.Tests/Microsoft.DotNet.UnifiedBuild.Tests.csproj"
Targets="Restore"
Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());ExcludeFromDotNetBuild=false" />
<MSBuild Projects="$(UnifiedBuildValidationTestsProject)"
<MSBuild Projects="../../test/Microsoft.DotNet.UnifiedBuild.Tests/Microsoft.DotNet.UnifiedBuild.Tests.csproj"
Targets="Build"
Properties="ExcludeFromDotNetBuild=false" />
</Target>