Merge pull request #5864 from piotrpMSFT/piotrpMSFT/infra/BuildTestsWithStage2
Move Test to use build output where possible.
This commit is contained in:
commit
c8e1a52b01
1 changed files with 3 additions and 3 deletions
|
@ -58,13 +58,13 @@
|
||||||
<Target Name="RestoreTests"
|
<Target Name="RestoreTests"
|
||||||
DependsOnTargets="PrepareTests;
|
DependsOnTargets="PrepareTests;
|
||||||
CreateTestAssetPackageNuPkgs;">
|
CreateTestAssetPackageNuPkgs;">
|
||||||
<DotNetRestore ToolPath="$(Stage0Directory)"
|
<DotNetRestore ToolPath="$(OutputDirectory)"
|
||||||
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="BuildTests"
|
<Target Name="BuildTests"
|
||||||
DependsOnTargets="RestoreTests;">
|
DependsOnTargets="RestoreTests;">
|
||||||
<DotNetBuild ToolPath="$(Stage0Directory)"
|
<DotNetBuild ToolPath="$(OutputDirectory)"
|
||||||
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
<!-- https://github.com/NuGet/Home/issues/4063 -->
|
<!-- https://github.com/NuGet/Home/issues/4063 -->
|
||||||
<DotNetPack Output="$(TestPackagesDir)"
|
<DotNetPack Output="$(TestPackagesDir)"
|
||||||
ProjectPath="%(TestPackageProject.ProjectPath)"
|
ProjectPath="%(TestPackageProject.ProjectPath)"
|
||||||
ToolPath="$(Stage0Directory)"
|
ToolPath="$(OutputDirectory)"
|
||||||
VersionSuffix="%(TestPackageProject.VersionSuffix)"
|
VersionSuffix="%(TestPackageProject.VersionSuffix)"
|
||||||
MsbuildArgs="%(TestPackageProject.MsbuildArgs) /p:SdkNuGetVersion=$(SdkNugetVersion)" />
|
MsbuildArgs="%(TestPackageProject.MsbuildArgs) /p:SdkNuGetVersion=$(SdkNugetVersion)" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue