aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Timeline.csproj
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-03 19:17:50 +0800
committercrupest <crupest@outlook.com>2022-12-03 19:20:04 +0800
commit5239049afe90d2ef926c1e1b917172b5f44b52fc (patch)
treeea212efd7a297b7ddc42fbabc9c830e839c16475 /BackEnd/Timeline/Timeline.csproj
parent27246baabce5a4c6e5145b16d0eac205e4f092df (diff)
downloadtimeline-5239049afe90d2ef926c1e1b917172b5f44b52fc.tar.gz
timeline-5239049afe90d2ef926c1e1b917172b5f44b52fc.tar.bz2
timeline-5239049afe90d2ef926c1e1b917172b5f44b52fc.zip
Fix upgrade dotnet to v7.
Diffstat (limited to 'BackEnd/Timeline/Timeline.csproj')
-rw-r--r--BackEnd/Timeline/Timeline.csproj39
1 files changed, 11 insertions, 28 deletions
diff --git a/BackEnd/Timeline/Timeline.csproj b/BackEnd/Timeline/Timeline.csproj
index 601703e9..88ea0be0 100644
--- a/BackEnd/Timeline/Timeline.csproj
+++ b/BackEnd/Timeline/Timeline.csproj
@@ -1,26 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
- <UserSecretsId>1f6fb74d-4277-4bc0-aeea-b1fc5ffb0b43</UserSecretsId>
- <Authors>crupest</Authors>
-
- <IsPackable>false</IsPackable>
+ <TargetFramework>net7.0</TargetFramework>
- <LangVersion>10.0</LangVersion>
+ <LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable>
- <SpaRoot>ClientApp\</SpaRoot>
+ <NoWarn>CS1591</NoWarn>
+ <Authors>crupest</Authors>
<Version>0.4.0</Version>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
- <NoWarn>1591</NoWarn>
+ <SpaRoot>ClientApp\</SpaRoot>
</PropertyGroup>
- <PropertyGroup Condition=" '$(RunConfiguration)' == 'Dev' " />
- <PropertyGroup Condition=" '$(RunConfiguration)' == 'Staging' " />
- <PropertyGroup Condition=" '$(RunConfiguration)' == 'Dev-Mock' " />
<ItemGroup>
<Content Include="default-avatar.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -41,10 +35,7 @@
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="7.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.0" />
- <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
+ <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0" />
<PackageReference Include="NSwag.AspNetCore" Version="13.18.0" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
</ItemGroup>
@@ -126,9 +117,9 @@
<DependentUpon>Resource.resx</DependentUpon>
</Compile>
<Compile Update="SignalRHub\Resource.Designer.cs">
- <DesignTime>True</DesignTime>
- <AutoGen>True</AutoGen>
- <DependentUpon>Resource.resx</DependentUpon>
+ <DesignTime>True</DesignTime>
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Resource.resx</DependentUpon>
</Compile>
</ItemGroup>
@@ -194,16 +185,8 @@
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="SignalRHub\Resource.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resource.Designer.cs</LastGenOutput>
+ <Generator>ResXFileCodeGenerator</Generator>
+ <LastGenOutput>Resource.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
- <ItemGroup>
- <None Remove="Controllers\V2\" />
- <None Remove="Services\User\RegisterCode\" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Controllers\V2\" />
- <Folder Include="Services\User\RegisterCode\" />
- </ItemGroup>
</Project> \ No newline at end of file