Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d7c74ef

Browse files
committed
Upgrade test projs to netcoreapp2.1
1 parent 94a2424 commit d7c74ef

File tree

2 files changed

+6
-32
lines changed

2 files changed

+6
-32
lines changed

src/ServiceStack.OrmLite.PostgreSQL.Tests/ServiceStack.OrmLite.PostgreSQL.Tests.csproj

Lines changed: 3 additions & 16 deletions
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
<DebugType>portable</DebugType>
66
<AssemblyName>ServiceStack.OrmLite.PostgreSQL.Tests</AssemblyName>
77
<OutputType>Library</OutputType>
@@ -54,24 +54,11 @@
5454
<Reference Include="..\..\lib\net45\ServiceStack.dll" />
5555
</ItemGroup>
5656

57-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
57+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
5858
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
5959
</PropertyGroup>
6060

61-
<!-- Enable NunitLite build, becase NUnit is not supported on .NET Core SDK 1.0.2
62-
https://github.com/nunit/dotnet-test-nunit/issues/91
63-
To enable NUnitLite pass /p:NUNITLITE=1 into msbuild arguments
64-
-->
65-
<PropertyGroup Condition=" '$(NUNITLITE)' != '' ">
66-
<OutputType>Exe</OutputType>
67-
<DefineConstants>$(DefineConstants);NUNITLITE</DefineConstants>
68-
</PropertyGroup>
69-
70-
<ItemGroup Condition=" '$(NUNITLITE)' != '' ">
71-
<PackageReference Include="NUnitLite" Version="3.9.0" />
72-
</ItemGroup>
73-
74-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
61+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
7562
<PackageReference Include="System.Runtime" Version="4.*" />
7663
<PackageReference Include="System.Runtime.Serialization.Xml" Version="4.*" />
7764
<PackageReference Include="System.Reflection" Version="4.*" />

tests/ServiceStack.OrmLite.Tests/ServiceStack.OrmLite.Tests.csproj

Lines changed: 3 additions & 16 deletions
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
<!--<TargetFrameworks>net46</TargetFrameworks>-->
66
<DebugType>portable</DebugType>
77
<AssemblyName>ServiceStack.OrmLite.Tests</AssemblyName>
@@ -65,24 +65,11 @@
6565
<Reference Include="..\..\lib\net45\ServiceStack.dll" />
6666
</ItemGroup>
6767

68-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
68+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
6969
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
7070
</PropertyGroup>
7171

72-
<!-- Enable NunitLite build, becase NUnit is not supported on .NET Core SDK 1.0.2
73-
https://github.com/nunit/dotnet-test-nunit/issues/91
74-
To enable NUnitLite pass /p:NUNITLITE=1 into msbuild arguments
75-
-->
76-
<PropertyGroup Condition=" '$(NUNITLITE)' != '' ">
77-
<OutputType>Exe</OutputType>
78-
<DefineConstants>$(DefineConstants);NUNITLITE</DefineConstants>
79-
</PropertyGroup>
80-
81-
<ItemGroup Condition=" '$(NUNITLITE)' != '' ">
82-
<PackageReference Include="NUnitLite" Version="3.9.0" />
83-
</ItemGroup>
84-
85-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
72+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
8673
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.0.1" />
8774
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />
8875
<PackageReference Include="System.Runtime" Version="4.*" />

0 commit comments

Comments
 (0)