Skip to content

Commit

Permalink
VS2017 - NetCore2 (UnitTest for Net35 and Net40-client)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed Sep 11, 2017
1 parent aed78aa commit 26fbc48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ dotnet test .\tests\NLog.UnitTests\ --configuration release --framework netcore
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }

msbuild /t:Build /p:targetFramework=net452 .\tests\NLog.UnitTests\ /p:Configuration=Release /p:TestTargetFramework=net35 /verbosity:minimal
msbuild /t:Build /p:targetFramework=net452 .\tests\NLog.UnitTests\ /p:Configuration=Release /p:TestTargetFramework=net35 /p:OutputPath=.\bin\release\net35 /verbosity:minimal
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }

& ${env:xunit20}\xunit.console.x86.exe .\tests\NLog.UnitTests\bin\release\net452\NLog.UnitTests.dll -appveyor -noshadow
& ${env:xunit20}\xunit.console.x86.exe .\tests\NLog.UnitTests\bin\release\net35\NLog.UnitTests.dll -appveyor -noshadow
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }

msbuild /t:Build /p:targetFramework=net452 .\tests\NLog.UnitTests\ /p:Configuration=Release /p:TestTargetFramework=net40-client /verbosity:minimal
msbuild /t:Build /p:targetFramework=net452 .\tests\NLog.UnitTests\ /p:Configuration=Release /p:TestTargetFramework=net40-client /p:OutputPath=.\bin\release\net40 /verbosity:minimal
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }

& ${env:xunit20}\xunit.console.x86.exe .\tests\NLog.UnitTests\bin\release\net452\NLog.UnitTests.dll -appveyor -noshadow
& ${env:xunit20}\xunit.console.x86.exe .\tests\NLog.UnitTests\bin\release\net40\NLog.UnitTests.dll -appveyor -noshadow
if (-Not $LastExitCode -eq 0)
{ exit $LastExitCode }

Expand Down

0 comments on commit 26fbc48

Please sign in to comment.