Skip to content
Permalink
Browse files

.net471 for testing

  • Loading branch information...
longfin committed Sep 3, 2019
1 parent 09a3706 commit 416526026d176e210fca76c0d3d281332de7b26b
@@ -11,15 +11,15 @@ steps:
arguments: install xunit.runner.console

- task: PowerShell@2
displayName: Set TargetFramework to net461 by force
displayName: Set TargetFramework to net471 by force
inputs:
targetType: inline
script: |
foreach ($path in gci *.Tests/*.Tests.csproj) {
foreach ($path in (gci *.Tests/*.Tests.csproj) + (gci Libplanet.Benchmarks/*.csproj)) {
[xml]$csproj = Get-Content $path
foreach ($pg in $csproj.Project.PropertyGroup) {
if ($pg.TargetFramework -ne $null) {
$pg.TargetFramework = "net461"
$pg.TargetFramework = "net471"
}
}
$csproj.Save($path)
@@ -38,7 +38,7 @@ steps:
targetType: inline
script: |
${{ parameters.testPrefix }} \
xunit.runner.console.*/tools/net461/xunit.console.exe \
xunit.runner.console.*/tools/net471/xunit.console.exe \
*.Tests/bin/$(configuration)/net*/*.Tests.dll \
${{ parameters.testArguments }}
env:
@@ -21,7 +21,7 @@

<PropertyGroup Condition=" '$(MSBuildRuntimeType)'=='Mono' And
'$(BuildingByReSharper)'!='true'">
<TargetFramework>net461</TargetFramework>
<TargetFramework>net471</TargetFramework>
</PropertyGroup>

<PropertyGroup>
@@ -20,7 +20,7 @@

<PropertyGroup Condition=" '$(MSBuildRuntimeType)'=='Mono' And
'$(BuildingByReSharper)'!='true'">
<TargetFramework>net461</TargetFramework>
<TargetFramework>net471</TargetFramework>
</PropertyGroup>

<PropertyGroup>

0 comments on commit 4165260

Please sign in to comment.
You can’t perform that action at this time.