Skip to content

Commit fc7d795

Browse files
committed
Updated Host to use .NET 5
Currently, none of the core OnTopic libraries rely on .NET 5 specific capabilities and, therefore, none of them multi-target .NET 5. That said, we _expect_ most implementors to be using .NET 5 and, therefore, it makes sense that the host example will be running in .NET 5 itself. That should also provide it with some performance benefits.
1 parent 416da77 commit fc7d795

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

OnTopic.AspNetCore.Mvc.Host/OnTopic.AspNetCore.Mvc.Host.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.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
5-
<LangVersion>9.0</LangVersion>
4+
<TargetFrameworks>net5.0</TargetFrameworks>
65
<UserSecretsId>62eb85bf-f802-4afd-8bec-3d344e1cfc79</UserSecretsId>
76
<IsPackable>false</IsPackable>
87
</PropertyGroup>
@@ -18,4 +17,4 @@
1817
<ProjectReference Include="..\OnTopic.All\OnTopic.All.csproj" />
1918
</ItemGroup>
2019

21-
</Project>
20+
</Project>

0 commit comments

Comments
 (0)