aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Timeline.csproj
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-11 15:45:27 +0800
committercrupest <crupest@outlook.com>2020-11-11 15:45:27 +0800
commit86c7ef8aca3982754456cf99609ec4f83fc09f5c (patch)
treee20f58d5166ef4b335a7d48dc0a9b9959ef0ab3f /BackEnd/Timeline/Timeline.csproj
parentacef142fbbff0a22d7df5268c0d2839a6335774e (diff)
downloadtimeline-86c7ef8aca3982754456cf99609ec4f83fc09f5c.tar.gz
timeline-86c7ef8aca3982754456cf99609ec4f83fc09f5c.tar.bz2
timeline-86c7ef8aca3982754456cf99609ec4f83fc09f5c.zip
Migrate to .net 5.0.
Diffstat (limited to 'BackEnd/Timeline/Timeline.csproj')
-rw-r--r--BackEnd/Timeline/Timeline.csproj18
1 files changed, 9 insertions, 9 deletions
diff --git a/BackEnd/Timeline/Timeline.csproj b/BackEnd/Timeline/Timeline.csproj
index 5131cdb0..b6c6b4ba 100644
--- a/BackEnd/Timeline/Timeline.csproj
+++ b/BackEnd/Timeline/Timeline.csproj
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp3.1</TargetFramework>
+ <TargetFramework>net5.0</TargetFramework>
<UserSecretsId>1f6fb74d-4277-4bc0-aeea-b1fc5ffb0b43</UserSecretsId>
<Authors>crupest</Authors>
<IsPackable>false</IsPackable>
- <LangVersion>8.0</LangVersion>
+ <LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
@@ -27,7 +27,7 @@
<Content Include="MockClientApp\index.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
- <Content Include="$(SpaRoot)**" >
+ <Content Include="$(SpaRoot)**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
@@ -35,15 +35,15 @@
<ItemGroup>
<PackageReference Include="AutoMapper" Version="10.1.1" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.1.0" />
- <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.9" />
- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
+ <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="5.0.0" />
+ <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
- <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.9" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="3.1.9" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.9" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.9">
+ <PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.0" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="5.0.0" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.0" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>