mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-27 12:35:35 +08:00
050226fdcc
* CI: make `any` fully platform unspecific [38ab47c
] As https://docs.microsoft.com/en-us/dotnet/core/deploying/deploy-with-cli points out, dotnet >3.1 will produce a platform-specific executable by default unless set UseAppHost=false * chore: set UseAppHost to false when publishing [0fbfb10
] Co-authored-by: genteure <genteure@gmail.com>
63 lines
3.2 KiB
XML
63 lines
3.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.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="11.0.1" />
|
|
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
|
|
<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.2" />
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.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)
 LogicalName: %(EmbeddedResource.LogicalName)
 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)
 LogicalName: %(EmbeddedResource.LogicalName)
 ExcludeFromManifest: %(EmbeddedResource.AAAAAAAAExcludeFromManifest)" />
|
|
-->
|
|
</Target>
|
|
|
|
</Project>
|