Skip to content

Commit 18c9766

Browse files
Upgrade TargetFramework to net5.0 and VersionPrefix
Update AspNetCore nugets to 5.0.0/5.0.1
1 parent d1fdb4b commit 18c9766

File tree

102 files changed

+229
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+229
-227
lines changed

plugins/MyTested.AspNetCore.Mvc.NewtonsoftJson/MyTested.AspNetCore.Mvc.NewtonsoftJson.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<Description>My Tested ASP.NET Core MVC Newtonsoft JSON components.</Description>
55
<Copyright>2015-2019 Ivaylo Kenov</Copyright>
66
<AssemblyTitle>MyTested.AspNetCore.Mvc.NewtonsoftJson</AssemblyTitle>
7-
<VersionPrefix>3.1.1</VersionPrefix>
7+
<VersionPrefix>5.0.1</VersionPrefix>
88
<Authors>Ivaylo Kenov</Authors>
9-
<TargetFramework>netcoreapp3.1</TargetFramework>
9+
<TargetFramework>net5.0</TargetFramework>
1010
<NoWarn>$(NoWarn);CS1591</NoWarn>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -29,7 +29,7 @@
2929
</PropertyGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.1" />
32+
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.1" />
3333
</ItemGroup>
3434

3535
<ItemGroup>

plugins/MyTested.AspNetCore.Mvc.Versioning/MyTested.AspNetCore.Mvc.Versioning.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<Description>My Tested ASP.NET Core MVC versioning components.</Description>
55
<Copyright>2015-2019 Ivaylo Kenov</Copyright>
66
<AssemblyTitle>MyTested.AspNetCore.Mvc.Versioning</AssemblyTitle>
7-
<VersionPrefix>3.1.1</VersionPrefix>
7+
<VersionPrefix>5.0.1</VersionPrefix>
88
<Authors>Ivaylo Kenov</Authors>
9-
<TargetFramework>netcoreapp3.1</TargetFramework>
9+
<TargetFramework>net5.0</TargetFramework>
1010
<NoWarn>$(NoWarn);CS1591</NoWarn>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>

samples/ApplicationParts/ApplicationParts.Controllers/ApplicationParts.Controllers.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AssemblyName>ApplicationParts.Controllers</AssemblyName>
66
<PackageId>ApplicationParts.Controllers</PackageId>
77
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
@@ -17,7 +17,7 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.1" />
20+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.1" />
2121
</ItemGroup>
2222

2323
</Project>

samples/ApplicationParts/ApplicationParts.Models/ApplicationParts.Models.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AssemblyName>ApplicationParts.Models</AssemblyName>
66
<PackageId>ApplicationParts.Models</PackageId>
77
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
@@ -16,7 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.1" />
19+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.1" />
2020
</ItemGroup>
2121

2222
</Project>

samples/ApplicationParts/ApplicationParts.Services/ApplicationParts.Services.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AssemblyName>ApplicationParts.Services</AssemblyName>
66
<PackageId>ApplicationParts.Services</PackageId>
77
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>

samples/ApplicationParts/ApplicationParts.Test/ApplicationParts.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
</PropertyGroup>
77

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

3-
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<AssemblyName>ApplicationParts.Web</AssemblyName>
6-
<UserSecretsId>aspnet-ApplicationParts.Web-c273a372-79ef-490d-b0e1-a7fb8f2dacc7</UserSecretsId>
7-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
8-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net5.0</TargetFramework>
5+
<AssemblyName>ApplicationParts.Web</AssemblyName>
6+
<UserSecretsId>aspnet-ApplicationParts.Web-c273a372-79ef-490d-b0e1-a7fb8f2dacc7</UserSecretsId>
7+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
8+
</PropertyGroup>
99

10-
<ItemGroup>
11-
<None Update="wwwroot\**\*;Views\**\*">
12-
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
13-
</None>
14-
</ItemGroup>
10+
<ItemGroup>
11+
<None Update="wwwroot\**\*;Views\**\*">
12+
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
13+
</None>
14+
</ItemGroup>
1515

16-
<ItemGroup>
17-
<ProjectReference Include="..\ApplicationParts.Controllers\ApplicationParts.Controllers.csproj" />
18-
</ItemGroup>
16+
<ItemGroup>
17+
<ProjectReference Include="..\ApplicationParts.Controllers\ApplicationParts.Controllers.csproj" />
18+
</ItemGroup>
1919

20-
<ItemGroup>
21-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.1" />
22-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.1" />
23-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.1" />
24-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.1" />
25-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="3.1.1" />
26-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.1" />
27-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="3.1.1" />
28-
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.1" />
29-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.1" />
30-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.1" />
31-
</ItemGroup>
20+
<ItemGroup>
21+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.1" />
22+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.1" />
23+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.1" />
24+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.1">
25+
<PrivateAssets>all</PrivateAssets>
26+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
27+
</PackageReference>
28+
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="5.0.0" />
29+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
30+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="5.0.0" />
31+
<PackageReference Include="Microsoft.Extensions.Logging" Version="5.0.0" />
32+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="5.0.0" />
33+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="5.0.0" />
34+
</ItemGroup>
3235

3336
</Project>

samples/Autofac/Autofac.AssemblyInit.Test/Autofac.AssemblyInit.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
</PropertyGroup>
77

samples/Autofac/Autofac.NoContainerBuilder.Test/Autofac.NoContainerBuilder.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
</PropertyGroup>
77

samples/Autofac/Autofac.NoContainerBuilder.Web/Autofac.NoContainerBuilder.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>

0 commit comments

Comments
 (0)