Skip to content

Commit 5c62df8

Browse files
committed
Move to netcoreapp2.1 for tests
1 parent 40a75e4 commit 5c62df8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
4+
<TargetFrameworks>net46;netcoreapp2.1</TargetFrameworks>
55
</PropertyGroup>
66

77
<ItemGroup>
@@ -44,4 +44,4 @@
4444

4545
<Import Project="..\Targets\GenerateNativeDllName.targets" />
4646

47-
</Project>
47+
</Project>

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test_script:
103103
}
104104
}
105105
106-
- dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build
106+
- dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.1 --no-restore --no-build
107107

108108
after_test:
109109
- ps: |

buildandtest.cmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ dotnet build "%~dp0\" /v:minimal /nologo /property:ExtraDefine="%EXTRADEFINE%"
3333
:: Run tests on Desktop and CoreCLR
3434
"%userprofile%\.nuget\packages\xunit.runner.console\2.4.1\tools\net46\xunit.console.exe" "%~dp0bin\LibGit2Sharp.Tests\%Configuration%\net46\LibGit2Sharp.Tests.dll" -noshadow
3535
@IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
36-
dotnet test "%~dp0LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -f netcoreapp2.0 --no-restore --no-build
36+
dotnet test "%~dp0LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj" -f netcoreapp2.1 --no-restore --no-build
3737
@IF ERRORLEVEL 1 EXIT /B %ERRORLEVEL%
3838

3939
EXIT /B %ERRORLEVEL%

buildandtest.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export Configuration=release
1515
# On linux we don't pack because we can't build for net40.
1616
# We just build for CoreCLR and run tests for it.
1717
dotnet restore
18-
dotnet build LibGit2Sharp.Tests -f netcoreapp2.0 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed
19-
dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.0 --no-restore --no-build
18+
dotnet build LibGit2Sharp.Tests -f netcoreapp2.1 -property:ExtraDefine="$EXTRADEFINE" -fl -flp:verbosity=detailed
19+
dotnet test LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj -f netcoreapp2.1 --no-restore --no-build
2020

2121
exit $?

0 commit comments

Comments
 (0)