Skip to content

Commit 9c03791

Browse files
committed
upgrade TargetFramework to net6.0
1 parent d9d89a6 commit 9c03791

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

sample/SmartSql.Sample.AspNetCore/SmartSql.Sample.AspNetCore.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.2</TargetFramework>
5-
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
4+
<TargetFramework>net6.0</TargetFramework>
65
</PropertyGroup>
7-
6+
87
<ItemGroup>
9-
<PackageReference Include="Microsoft.AspNetCore.App" />
10-
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
11-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.2.4" />
128
<PackageReference Include="SkyAPM.Agent.AspNetCore" Version="0.9.0" />
139
<PackageReference Include="SkyAPM.Diagnostics.SmartSql" Version="0.9.0" />
1410
<PackageReference Include="Swashbuckle.AspNetCore" Version="4.0.1" />

src/SmartSql.DataConnector/SmartSql.DataConnector.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.2</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
65
<PackAsTool>true</PackAsTool>
76
<ToolCommandName>SmartSql.DataConnector</ToolCommandName>
87
<PackageOutputPath>./nupkg</PackageOutputPath>

src/SmartSql.Test.Performance/SmartSql.Test.Performance.csproj

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

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.2</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
65
</PropertyGroup>
76

87
<ItemGroup>

0 commit comments

Comments
 (0)