Skip to content

Commit 8930411

Browse files
committed
Upgrade to ASP.NET Core 2.1
1 parent 9858870 commit 8930411

File tree

14 files changed

+50
-43
lines changed

14 files changed

+50
-43
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ addons:
2222
osx_image: xcode7.2
2323

2424
# Ensure that .NET Core is installed
25-
dotnet: 2.1.105
25+
dotnet: 2.1.300
2626
# Ensure Mono is installed
2727
mono: latest
2828

Benchmarks/Boxed.Mapping.Benchmark/Boxed.Mapping.Benchmark.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup Label="Build">
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">netcoreapp2.0;net461</TargetFrameworks>
6-
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">netcoreapp2.0</TargetFramework>
5+
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">netcoreapp2.1;net461</TargetFrameworks>
6+
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">netcoreapp2.1</TargetFramework>
77
<CodeAnalysisRuleSet>../../MinimumRecommendedRulesWithStyleCop.ruleset</CodeAnalysisRuleSet>
88
<IsPackable>false</IsPackable>
99
<LangVersion>latest</LangVersion>
@@ -15,7 +15,7 @@
1515
</ItemGroup>
1616

1717
<ItemGroup Label="Package References">
18-
<PackageReference Include="AutoMapper" Version="6.2.2" />
18+
<PackageReference Include="AutoMapper" Version="7.0.0" />
1919
<PackageReference Include="BenchmarkDotNet" Version="0.10.14" />
2020
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
2121
</ItemGroup>

Framework.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
99
.travis.yml = .travis.yml
1010
appveyor.yml = appveyor.yml
1111
build.cake = build.cake
12+
build.ps1 = build.ps1
13+
build.sh = build.sh
14+
global.json = global.json
1215
MinimumRecommendedRulesWithStyleCop.ruleset = MinimumRecommendedRulesWithStyleCop.ruleset
1316
EndProjectSection
1417
EndProject

Source/Boxed.AspNetCore.Swagger/Boxed.AspNetCore.Swagger.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Build">
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup Label="Package">
12-
<VersionPrefix>1.1.0</VersionPrefix>
12+
<VersionPrefix>2.0.0</VersionPrefix>
1313
<Authors>Muhammad Rehan Saeed (RehanSaeed.com)</Authors>
1414
<Product>ASP.NET Core Swagger Framework Boxed</Product>
1515
<Description>Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project implementing Swagger (OpenAPI).</Description>
@@ -44,9 +44,9 @@
4444
</ItemGroup>
4545

4646
<ItemGroup Label="Package References">
47-
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
47+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62925-02" />
4848
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
49-
<PackageReference Include="Swashbuckle.AspNetCore" Version="2.4.0" />
49+
<PackageReference Include="Swashbuckle.AspNetCore" Version="2.5.0" />
5050
</ItemGroup>
5151

5252
</Project>

Source/Boxed.AspNetCore.TagHelpers/Boxed.AspNetCore.TagHelpers.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup Label="Package">
12-
<VersionPrefix>1.1.0</VersionPrefix>
12+
<VersionPrefix>2.0.0</VersionPrefix>
1313
<Authors>Muhammad Rehan Saeed (RehanSaeed.com)</Authors>
1414
<Product>ASP.NET Core Tag Helpers Boxed</Product>
1515
<Description>ASP.NET Core tag helpers for Subresource Integrity (SRI), Referrer meta tags, OpenGraph (Facebook) and Twitter social network meta tags.</Description>
@@ -40,10 +40,10 @@
4040
</PropertyGroup>
4141

4242
<ItemGroup Label="Package References">
43-
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.4" />
44-
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="2.0.3" />
45-
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.0.2" />
46-
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
43+
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.1.0" />
44+
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="2.1.0" />
45+
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.1.0" />
46+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62925-02" />
4747
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
4848
</ItemGroup>
4949

Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup Label="Package">
12-
<VersionPrefix>1.1.0</VersionPrefix>
12+
<VersionPrefix>2.0.0</VersionPrefix>
1313
<Authors>Muhammad Rehan Saeed (RehanSaeed.com)</Authors>
1414
<Product>ASP.NET Core Framework Boxed</Product>
1515
<Description>Provides ASP.NET Core middleware, MVC filters, extension methods and helper code for an ASP.NET Core project.</Description>
@@ -40,12 +40,12 @@
4040
</PropertyGroup>
4141

4242
<ItemGroup Label="Package References">
43-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.0.4" />
44-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.0.4" />
45-
<PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="2.0.3" />
46-
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.0.2" />
47-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.2" />
48-
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
43+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.1.0" />
44+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="2.1.0" />
45+
<PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="2.1.0" />
46+
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.1.0" />
47+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.0" />
48+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62925-02" />
4949
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
5050
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
5151
</ItemGroup>

Source/Boxed.Mapping/Boxed.Mapping.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</PropertyGroup>
4141

4242
<ItemGroup Label="Package References">
43-
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
43+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62925-02" />
4444
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
4545
</ItemGroup>
4646

Tests/Boxed.AspNetCore.Swagger.Test/Boxed.AspNetCore.Swagger.Test.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Build">
4-
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
5-
<RuntimeFrameworkVersion>2.0.7</RuntimeFrameworkVersion>
4+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
65
<CodeAnalysisRuleSet>../../MinimumRecommendedRulesWithStyleCop.ruleset</CodeAnalysisRuleSet>
76
<IsPackable>false</IsPackable>
87
<LangVersion>latest</LangVersion>
@@ -20,8 +19,8 @@
2019
</ItemGroup>
2120

2221
<ItemGroup Label="Package References">
23-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.0.4" />
24-
<PackageReference Include="Microsoft.AspNetCore.Mvc.ApiExplorer" Version="2.0.4" />
22+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.1.0" />
23+
<PackageReference Include="Microsoft.AspNetCore.Mvc.ApiExplorer" Version="2.1.0" />
2524
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
2625
<PackageReference Include="Moq" Version="4.8.2" />
2726
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />

Tests/Boxed.AspNetCore.TagHelpers.Test/Boxed.AspNetCore.TagHelpers.Test.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Build">
4-
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
5-
<RuntimeFrameworkVersion>2.0.7</RuntimeFrameworkVersion>
4+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
65
<CodeAnalysisRuleSet>../../MinimumRecommendedRulesWithStyleCop.ruleset</CodeAnalysisRuleSet>
76
<IsPackable>false</IsPackable>
87
<LangVersion>latest</LangVersion>
@@ -14,7 +13,7 @@
1413
</ItemGroup>
1514

1615
<ItemGroup Label="Package References">
17-
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.0.3" />
16+
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.1.0" />
1817
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
1918
<PackageReference Include="Moq" Version="4.8.2" />
2019
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />

Tests/Boxed.AspNetCore.Test/Boxed.AspNetCore.Test.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup Label="Build">
4-
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
5-
<RuntimeFrameworkVersion>2.0.7</RuntimeFrameworkVersion>
4+
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
65
<CodeAnalysisRuleSet>../../MinimumRecommendedRulesWithStyleCop.ruleset</CodeAnalysisRuleSet>
76
<IsPackable>false</IsPackable>
87
<LangVersion>latest</LangVersion>
@@ -14,8 +13,8 @@
1413
</ItemGroup>
1514

1615
<ItemGroup Label="Package References">
17-
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.0.3" />
18-
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.4" />
16+
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.1.0" />
17+
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.0" />
1918
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
2019
<PackageReference Include="Moq" Version="4.8.2" />
2120
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />

0 commit comments

Comments
 (0)