Fixing windows test.
This commit is contained in:
parent
df57e5dbf6
commit
f3945b867d
3 changed files with 6 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
<RuntimeIdentifiers>win7-x64;win7-x86;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.10-x64;rhel.7-x64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
|
||||
<BuiltProjectOutputGroupOutput Include="$(ProjectRuntimeConfigFilePath)">
|
||||
<FinalOutputPath>$(ProjectRuntimeConfigFilePath)</FinalOutputPath>
|
||||
</BuiltProjectOutputGroupOutput>
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
<PackageReference Include="Newtonsoft.Json">
|
||||
<Version>5.0.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="NuGet.Protocol.Core.v3">
|
||||
<Version>3.3.0</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
|
||||
|
|
|
@ -211,8 +211,10 @@
|
|||
Outputs="%(TestPackageProject.PackOutputs)">
|
||||
|
||||
<PropertyGroup>
|
||||
<DotNetPackMsbuildArgs>/p:TargetFramework=%(TestPackageProject.Framework)</DotNetPackMsbuildArgs>
|
||||
<DotNetPackMsbuildArgs Condition=" '$(IsDesktopAvailable)' == 'True' And '%(TestPackageProject.PackRuntime)' != '' ">/p:RuntimeIdentifier=%(TestPackageProject.PackRuntime)</DotNetPackMsbuildArgs>
|
||||
<Framework>%(TestPackageProject.Framework)</Framework>
|
||||
<DoPackRuntime Condition=" '$(Framework)' == 'net45' Or '$(Framework)' == 'net451' ">true</DoPackRuntime>
|
||||
<DotNetPackMsbuildArgs>/p:TargetFramework=$(Framework)</DotNetPackMsbuildArgs>
|
||||
<DotNetPackMsbuildArgs Condition=" '$(IsDesktopAvailable)' == 'True' And '%(TestPackageProject.PackRuntime)' != '' And '$(DoPackRuntime)' != '' ">/p:RuntimeIdentifier=%(TestPackageProject.PackRuntime)</DotNetPackMsbuildArgs>
|
||||
</PropertyGroup>
|
||||
|
||||
<DotNetRestore ToolPath="$(Stage2Directory)"
|
||||
|
@ -220,7 +222,7 @@
|
|||
ConfigFile="$(RepoRoot)\NuGet.Config"
|
||||
ProjectPath="%(TestPackageProject.ProjectPath)" />
|
||||
|
||||
<DotNetBuild Framework="%(TestPackageProject.Framework)"
|
||||
<DotNetBuild Framework="$(Framework)"
|
||||
Runtime="%(TestPackageProject.Runtime)"
|
||||
ProjectPath="%(TestPackageProject.ProjectPath)"
|
||||
ToolPath="$(Stage0Directory)" />
|
||||
|
|
Loading…
Reference in a new issue