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

Commit

Permalink
drop all frameworks except .net standard 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Oct 28, 2019
1 parent 728f3fc commit 94e45c6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 18 deletions.
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4.0.0.{build}
version: 5.0.0.{build}
os: Visual Studio 2019
environment:
ASPNETCORE_ENVIRONMENT: appveyor
Expand All @@ -7,6 +7,7 @@ environment:

init:
- git config --global core.autocrlf input

dotnet_csproj:
patch: true
file: 'build\version.props'
Expand Down
10 changes: 5 additions & 5 deletions build/version.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<Version>4.0.0.0</Version>
<PackageVersion>4.0.0.0</PackageVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<FileVersion>4.0.0.0</FileVersion>
<InformationalVersion>4.0.0.0</InformationalVersion>
<Version>5.0.0.0</Version>
<PackageVersion>5.0.0.0</PackageVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<FileVersion>5.0.0.0</FileVersion>
<InformationalVersion>5.0.0.0</InformationalVersion>
</PropertyGroup>
</Project>
13 changes: 3 additions & 10 deletions src/DataGenerator/DataGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@
<Import Project="..\..\build\common.props" />

<PropertyGroup>
<TargetFrameworks>net40;net45;netstandard1.5;netstandard2.0</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>1591</NoWarn>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net40' Or '$(TargetFramework)' == 'net45' ">
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.5' Or '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="System.ComponentModel.Annotations" Version="4.3.0" />
<ItemGroup>
<PackageReference Include="System.ComponentModel.Annotations" Version="4.6.0" />
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.6.0" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/DataGenerator.Tests/DataGenerator.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>4.0.0.0</VersionPrefix>
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
<VersionPrefix>5.0.0.0</VersionPrefix>
<TargetFramework>netcoreapp2.2</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit 94e45c6

Please sign in to comment.