Don't build net45, net40 on Linux

This commit is contained in:
Frederik Carlier
2018-05-22 15:39:28 +02:00
parent 32da65ab05
commit 7241b5d202
3 changed files with 10 additions and 11 deletions

View File

@@ -1,10 +1,9 @@
language: csharp
solution: plist-cil.sln
mono:
- latest
- alpha
- beta
- weekly
- 5.0.0
- none
dotnet: 2.1.200
dist: trusty
dist: trusty
script:
- dotnet build -c Release
- dotnet test plist-cil.test/plist-cil.test.csproj

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.4" targetFramework="net45" />
</packages>

View File

@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp1.0;netstandard1.3;netstandard1.4;netstandard1.6;netcoreapp2.0;netstandard2.0;net40;net45</TargetFrameworks>
<TargetFrameworks>netcoreapp1.0;netstandard1.3;netstandard1.4;netstandard1.6;netcoreapp2.0;netstandard2.0</TargetFrameworks>
<Version>1.16</Version>
<Authors>Natalia Portillo</Authors>
<Company>Claunia.com</Company>
@@ -26,6 +26,10 @@ Added examples to README.</PackageReleaseNotes>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<TargetFrameworks>$(TargetFrameworks);net45;net40</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;RELEASE</DefineConstants>
</PropertyGroup>