File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11 .0" />
8- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.7 " />
9- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.7 " />
7+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0 .0" />
8+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.8 " />
9+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.8 " />
1010 </ItemGroup >
1111 <ItemGroup >
1212 <ProjectReference Include =" ..\DIDemoServices\DIDemoServices.csproj" />
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11 .0" />
8- <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.7 " />
9- <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.7 " />
7+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0 .0" />
8+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.2.8 " />
9+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.2.8 " />
1010 </ItemGroup >
1111 <ItemGroup >
1212 <ProjectReference Include =" ..\DIDemo\DIDemo.csproj" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <AspNetCoreHostingModel >InProcess</AspNetCoreHostingModel >
55 <IncludeOpenAPIAnalyzers >true</IncludeOpenAPIAnalyzers >
66 </PropertyGroup >
77 <ItemGroup >
8- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 5 .0.11 " />
9- <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 5 .0.11 " >
8+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 6 .0.1 " />
9+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 6 .0.1 " >
1010 <PrivateAssets >all</PrivateAssets >
1111 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1212 </PackageReference >
13- <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" 5.0.0" />
14- <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 5.0.2" />
15- <PackageReference Include =" Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version =" 5.0.11" />
13+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 6.0.0" />
14+ <PackageReference Include =" Microsoft.Extensions.Logging.Debug" Version =" 6.0.0" />
15+ <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 6.0.1" />
16+ <PackageReference Include =" Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version =" 6.0.1" />
1617 </ItemGroup >
1718 <ItemGroup >
1819 <ProjectReference Include =" ..\DIDemoServices\DIDemoServices.csproj" />
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ public void ConfigureServices(IServiceCollection services)
5656 services . AddSingleton < IOperationServiceSingleton , OperationService > ( ) ;
5757
5858 services . AddMvc ( )
59- . SetCompatibilityVersion ( CompatibilityVersion . Version_3_0 )
6059 . AddNewtonsoftJson ( ) ;
6160 }
6261
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
8- <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 5 .0.0" />
8+ <PackageReference Include =" Microsoft.Extensions.Configuration.Abstractions" Version =" 6 .0.0" />
99 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
1010 </ItemGroup >
1111
You can’t perform that action at this time.
0 commit comments