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

Commit

Permalink
Upgrade to netcoreapp2.1 + latest NUnit test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Aug 15, 2018
1 parent 46f46b5 commit 523929a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 123 deletions.
47 changes: 0 additions & 47 deletions tests/ServiceStack.Aws.DynamoDbTests/NetCoreTestsRunner.cs

This file was deleted.

@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
<TargetFrameworks>net46;netcoreapp2.1</TargetFrameworks>
<DebugType>portable</DebugType>
<AssemblyName>ServiceStack.Aws.DynamoDbTests</AssemblyName>
<OutputType>Library</OutputType>
Expand All @@ -15,20 +14,19 @@
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="AWSSDK.Core" Version="3.3.22" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.3.7.2" />
<PackageReference Include="AWSSDK.S3" Version="3.3.18.1" />
<PackageReference Include="AWSSDK.SQS" Version="3.3.3.6" />
<PackageReference Include="NUnit" Version="3.9.0" />
<ProjectReference Include="..\..\src\ServiceStack.Aws\ServiceStack.Aws.csproj" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
<DefineConstants>$(DefineConstants);NET45</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
<Reference Include="System.Configuration" />
<Reference Include="System.Threading" />
Expand All @@ -38,27 +36,22 @@
<Reference Include="System.Web" />
<Reference Include="Microsoft.CSharp" />
<PackageReference Include="System.Memory" Version="4.5.1" />

<Reference Include="..\..\lib\net45\ServiceStack.Interfaces.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Text.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Common.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Client.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.dll" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />

<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Interfaces.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Text.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Common.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Client.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.dll" />
</ItemGroup>

</Project>
</Project>
47 changes: 0 additions & 47 deletions tests/ServiceStack.Aws.Tests/NetCoreTestsRunner.cs

This file was deleted.

22 changes: 7 additions & 15 deletions tests/ServiceStack.Aws.Tests/ServiceStack.Aws.Tests.csproj
@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net46;netcoreapp2.0</TargetFrameworks>
<!--<TargetFrameworks>netcoreapp1.1</TargetFrameworks>-->
<TargetFrameworks>net46;netcoreapp2.1</TargetFrameworks>
<DebugType>portable</DebugType>
<AssemblyName>ServiceStack.Aws.Tests</AssemblyName>
<OutputType>Library</OutputType>
Expand All @@ -16,21 +14,20 @@
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnitLite" Version="3.9.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
<PackageReference Include="NUnit" Version="3.10.1" />
<PackageReference Include="AWSSDK.Core" Version="3.3.22" />
<PackageReference Include="AWSSDK.DynamoDBv2" Version="3.3.7.2" />
<PackageReference Include="AWSSDK.S3" Version="3.3.18.1" />
<PackageReference Include="AWSSDK.SQS" Version="3.3.3.6" />
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<ProjectReference Include="..\..\src\ServiceStack.Aws\ServiceStack.Aws.csproj" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
<DefineConstants>$(DefineConstants);NET45</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
<Reference Include="System.Threading" />
<Reference Include="System.Threading.Tasks" />
Expand All @@ -39,27 +36,22 @@
<Reference Include="System.Web" />
<Reference Include="Microsoft.CSharp" />
<PackageReference Include="System.Memory" Version="4.5.1" />

<Reference Include="..\..\lib\net45\ServiceStack.Interfaces.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Text.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Common.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.Client.dll" />
<Reference Include="..\..\lib\net45\ServiceStack.dll" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
<PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />

<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Interfaces.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Text.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Common.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Client.dll" />
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.dll" />
</ItemGroup>

</Project>
</Project>

0 comments on commit 523929a

Please sign in to comment.