only build desktop-and-portable TestPackage on Windows
This commit is contained in:
parent
f66dbdb4b4
commit
89ff57f51b
2 changed files with 3 additions and 9 deletions
|
@ -100,15 +100,9 @@
|
|||
Source="$(TestPackagesDir)"
|
||||
ConfigFile="$(RepoRoot)\NuGet.Config"
|
||||
ProjectPath="%(TestPackageProject.ProjectPath)" />
|
||||
|
||||
<DotNetBuild Framework="$(Framework)"
|
||||
Runtime="%(TestPackageProject.Runtime)"
|
||||
ProjectPath="%(TestPackageProject.ProjectPath)"
|
||||
ToolPath="$(Stage0Directory)" />
|
||||
|
||||
|
||||
<!-- https://github.com/NuGet/Home/issues/4063 -->
|
||||
<DotNetPack NoBuild="True"
|
||||
Output="$(TestPackagesDir)"
|
||||
<DotNetPack Output="$(TestPackagesDir)"
|
||||
ProjectPath="%(TestPackageProject.ProjectPath)"
|
||||
ToolPath="$(Stage0Directory)"
|
||||
VersionSuffix="%(TestPackageProject.VersionSuffix)"
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<Clean>True</Clean>
|
||||
<Frameworks>netcoreapp1.0</Frameworks>
|
||||
</BaseTestPackageProject>
|
||||
<BaseTestPackageProject Include="TestAssets/TestPackages/dotnet-desktop-and-portable">
|
||||
<BaseTestPackageProject Condition=" '$(IsDesktopAvailable)' == 'True' " Include="TestAssets/TestPackages/dotnet-desktop-and-portable">
|
||||
<Name>dotnet-desktop-and-portable</Name>
|
||||
<ProjectName>dotnet-desktop-and-portable.csproj</ProjectName>
|
||||
<IsTool>True</IsTool>
|
||||
|
|
Loading…
Reference in a new issue