2021-05-30 19:16:20 +08:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
2022-04-05 13:42:14 +08:00
|
|
|
|
2021-05-30 19:16:20 +08:00
|
|
|
<PropertyGroup>
|
2022-04-03 14:47:54 +08:00
|
|
|
<TargetFramework>net6.0</TargetFramework>
|
2022-04-03 13:34:55 +08:00
|
|
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
|
|
|
<NoWarn>1701;1702;1591</NoWarn>
|
2022-04-05 13:42:14 +08:00
|
|
|
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
|
2022-05-17 02:51:47 +08:00
|
|
|
<SelfContained Condition=" '$(RuntimeIdentifier)' == '' ">false</SelfContained>
|
|
|
|
<SelfContained Condition=" '$(SelfContained)' == '' ">true</SelfContained>
|
2021-05-30 19:16:20 +08:00
|
|
|
</PropertyGroup>
|
2022-04-05 13:42:14 +08:00
|
|
|
|
2021-05-30 19:16:20 +08:00
|
|
|
<ItemGroup>
|
2022-04-03 13:34:55 +08:00
|
|
|
<PackageReference Include="AutoMapper" Version="11.0.1" />
|
|
|
|
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
|
2022-04-03 14:52:11 +08:00
|
|
|
<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" />
|
2022-05-17 01:50:09 +08:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.5" />
|
|
|
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.5" />
|
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.1" />
|
2021-05-30 19:16:20 +08:00
|
|
|
</ItemGroup>
|
2022-04-05 13:42:14 +08:00
|
|
|
|
2021-05-30 19:16:20 +08:00
|
|
|
<ItemGroup>
|
2022-04-03 14:47:54 +08:00
|
|
|
<ProjectReference Include="..\BililiveRecorder.Core\BililiveRecorder.Core.csproj" />
|
2021-05-30 19:16:20 +08:00
|
|
|
</ItemGroup>
|
2022-04-05 13:42:14 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2021-05-30 19:16:20 +08:00
|
|
|
</Project>
|