Skip to content

Commit

Permalink
updating some NuGet deps, downgrading one of target frameworks to NET4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
salaros committed Feb 20, 2019
1 parent f44305c commit 93c3685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Parameters/Shared/SharedParameterFile.CSV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static SharedParameterFile()
IncludePrivateMembers = true
};

#if !NET452
#if !NET45
// Allow the usage of ANSI encoding other than the default one
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
#endif
Expand Down
8 changes: 4 additions & 4 deletions src/Revit.Toolkit.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp2.1;netstandard2.0;net452;net47</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net45;net47</TargetFrameworks>
<RuntimeFrameworkVersion>2.1.0</RuntimeFrameworkVersion>
<Description>A toolkit for processing .rfa, .rvt etc without Revit</Description>
<Product>Revit.Toolkit</Product>
Expand Down Expand Up @@ -57,12 +57,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CodeCave.Extensions" Version="1.0.13" />
<PackageReference Include="CodeCave.Extensions" Version="1.0.14" />
<PackageReference Include="CsvHelper" Version="7.1.1" />
<PackageReference Include="OpenMcdf-2" Version="2.1.1.5" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
<PackageReference Include="System.Drawing.Common" Version="4.5.0" Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netcoreapp2.1'" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.0" Condition="'$(TargetFramework)' != 'net452'" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netcoreapp2.1'" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.5.1" Condition="'$(TargetFramework)' != 'net45'" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 93c3685

Please sign in to comment.