Skip to content

Commit

Permalink
Merge pull request #227 from pengweiqhca/main
Browse files Browse the repository at this point in the history
Update framework version.
  • Loading branch information
pengweiqhca authored Feb 21, 2023
2 parents 863c252 + 0874ab1 commit e63a5cb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions demo/Apollo.AspNet.Demo/Apollo.AspNet.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Library</OutputType>
<RootNamespace>Apollo.AspNet.Demo</RootNamespace>
<AssemblyName>Apollo.AspNet.Demo</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />
Expand Down Expand Up @@ -123,4 +123,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
4 changes: 2 additions & 2 deletions demo/Apollo.AspNet.Demo/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</appSettings>
<connectionStrings configBuilders="ConnectionStringsSectionBuilder" />
<system.web>
<compilation debug="true" targetFramework="4.7.1" />
<httpRuntime targetFramework="4.7.1" />
<compilation debug="true" targetFramework="4.7.2" />
<httpRuntime targetFramework="4.7.2" />
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
2 changes: 1 addition & 1 deletion demo/Apollo.AspNetCore.Demo/Apollo.AspNetCore.Demo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion demo/Apollo.AspNetCore.Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
context.Response.StatusCode = 404;
var key = context.Request.Query["key"];
string? key = context.Request.Query["key"];
if (string.IsNullOrWhiteSpace(key)) return Task.CompletedTask;
var value = context.RequestServices.GetRequiredService<IConfiguration>()[key];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<TargetFramework>net47</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down

0 comments on commit e63a5cb

Please sign in to comment.