Provide runtime identifiers for test project

This commit is contained in:
Alexander Luzgarev 2019-03-09 20:01:56 +01:00
parent b66e380414
commit beae9e4429
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

View File

@ -14,11 +14,11 @@ steps:
displayName: 'dotnet build $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: 'dotnet test $(buildConfiguration)'
displayName: 'dotnet test $(buildConfiguration) (win-x64)'
inputs:
command: test
projects: '**/*Tests/*.csproj'
arguments: '--configuration $(buildConfiguration)'
arguments: '--configuration $(buildConfiguration) --runtime win-x64'
- task: DotNetCoreCLI@2
inputs: