aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-12-10 13:52:39 +0800
committercrupest <crupest@outlook.com>2019-12-10 13:52:39 +0800
commit77eaf82aaa12b995dcb0ea6bea092d44ef8d2199 (patch)
treeaa276d7733bfd90258c018b5c00287f8b6e8499c
parentae0fe2a03e04a6d170ac5f05039afe2a9407f255 (diff)
downloadtimeline-77eaf82aaa12b995dcb0ea6bea092d44ef8d2199.tar.gz
timeline-77eaf82aaa12b995dcb0ea6bea092d44ef8d2199.tar.bz2
timeline-77eaf82aaa12b995dcb0ea6bea092d44ef8d2199.zip
Migrate to DotNetCore 3.1 .
-rw-r--r--Timeline.Tests/Timeline.Tests.csproj8
-rw-r--r--Timeline/Timeline.csproj13
-rw-r--r--art-src/user.svg3
-rw-r--r--azure-pipelines.yml4
4 files changed, 14 insertions, 14 deletions
diff --git a/Timeline.Tests/Timeline.Tests.csproj b/Timeline.Tests/Timeline.Tests.csproj
index 61ccfcc0..0845d1ab 100644
--- a/Timeline.Tests/Timeline.Tests.csproj
+++ b/Timeline.Tests/Timeline.Tests.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp3.0</TargetFramework>
+ <TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
@@ -13,12 +13,12 @@
</PackageReference>
<PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
- <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.0.0" />
- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7">
+ <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="3.1.0" />
+ <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
- <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.0.1" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="Moq" Version="4.13.1" />
<PackageReference Include="xunit" Version="2.4.1" />
diff --git a/Timeline/Timeline.csproj b/Timeline/Timeline.csproj
index ab1a0f8d..b739b297 100644
--- a/Timeline/Timeline.csproj
+++ b/Timeline/Timeline.csproj
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>netcoreapp3.0</TargetFramework>
+ <TargetFramework>netcoreapp3.1</TargetFramework>
<UserSecretsId>1f6fb74d-4277-4bc0-aeea-b1fc5ffb0b43</UserSecretsId>
<Authors>crupest</Authors>
@@ -15,18 +15,17 @@
</ItemGroup>
<ItemGroup>
- <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7">
+ <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
- <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.1" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="3.0.1" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.1">
+ <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="3.1.0" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
- <PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="3.0.0" />
+ <PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="3.0.1" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.Design" Version="1.1.2" />
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-dev002868" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="5.6.0" />
diff --git a/art-src/user.svg b/art-src/user.svg
index acbd3c8a..4bdbe940 100644
--- a/art-src/user.svg
+++ b/art-src/user.svg
@@ -1,4 +1,5 @@
-<svg viewbox="0 0 100 100" stroke-width="5" stroke="#000000" fill="transparent">
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 100 100" stroke-width="5" stroke="#000000" fill="transparent">
<circle cx="50" cy="30" r="20"/>
<path d="M 10,90 A 40 40 180 1 1 90,90"/>
</svg>
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 6db48bb6..14f8a670 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -17,7 +17,7 @@ stages:
- task: UseDotNet@2
inputs:
packageType: sdk
- version: 3.0.x
+ version: 3.1.x
- script: |
dotnet restore Timeline/Timeline.csproj --configfile nuget.config
@@ -55,7 +55,7 @@ stages:
- task: UseDotNet@2
inputs:
packageType: sdk
- version: 3.0.x
+ version: 3.1.x
- script: dotnet publish Timeline/Timeline.csproj --configuration $(buildConfiguration) --output ./Timeline/publish/
displayName: Dotnet Publish