BililiveRecorder/BililiveRecorder.Web/BililiveRecorder.Web.csproj
Genteure 453e63c651
feat: upgrade target framework for cli to .NET 8.0 (#624)
* feat: upgrade target framework to .NET 8.0

* refactor: fix obsolete warnings

* chore: update AutoMapper package to version 13.0.1

* chore: suppress warnings

* feat: upgrade Docker images to .NET 8.0
2024-11-22 14:52:28 +00:00

62 lines
3.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<NoWarn>1701;1702;1591</NoWarn>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
<SelfContained Condition=" '$(RuntimeIdentifier)' == '' ">false</SelfContained>
<SelfContained Condition=" '$(SelfContained)' == '' ">true</SelfContained>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.17.1" />
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="GraphQL.MicrosoftDI" Version="4.8.0" />
<PackageReference Include="GraphQL.Server.Core" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Transports.AspNetCore.NewtonsoftJson" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Transports.Subscriptions.WebSockets" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Ui.Altair" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Ui.GraphiQL" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Ui.Playground" Version="5.2.1" />
<PackageReference Include="GraphQL.Server.Ui.Voyager" Version="5.2.1" />
<PackageReference Include="GraphQL.SystemReactive" Version="4.8.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.8" />
<PackageReference Include="NUglify" Version="1.20.7" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BililiveRecorder.Core\BililiveRecorder.Core.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="embeded\**\*">
<TargetPath>%(RecursiveDir)%(Filename)%(Extension)</TargetPath>
</EmbeddedResource>
</ItemGroup>
<Target Name="_RemoveManifestItSelfFromTheManifest" AfterTargets="PrepareResourceNames" BeforeTargets="_GenerateEmbeddedFilesManifest">
<!--
保留以后万一调试用。
<Message Importance="high" Text="AAAAAAAAAAAAAAAAAA: %(EmbeddedResource.ManifestResourceName)&#xD;&#xA; LogicalName: %(EmbeddedResource.LogicalName)&#xD;&#xA; ExcludeFromManifest: %(EmbeddedResource.AAAAAAAAExcludeFromManifest)" />
-->
<ItemGroup>
<EmbeddedResource>
<ExcludeFromManifest Condition="'%(LogicalName)' == '$(EmbeddedFilesManifestFileName)'">true</ExcludeFromManifest>
</EmbeddedResource>
</ItemGroup>
<!--
<Message Importance="high" Text="DEBUG: @(EmbeddedResource->WithMetadataValue('LogicalName',$(EmbeddedFilesManifestFileName)))"/>
<Message Importance="high" Text="BBBBBBBBBBBBBBBBBB: %(EmbeddedResource.ManifestResourceName)&#xD;&#xA; LogicalName: %(EmbeddedResource.LogicalName)&#xD;&#xA; ExcludeFromManifest: %(EmbeddedResource.AAAAAAAAExcludeFromManifest)" />
-->
</Target>
</Project>