mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
40 lines
1.9 KiB
XML
40 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<StartupObject>BililiveRecorder.Cli.Program</StartupObject>
|
|
<RuntimeIdentifiers>win-x64;osx-x64;osx.10.11-x64;linux-arm64;linux-arm;linux-x64</RuntimeIdentifiers>
|
|
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == 'any' "></RuntimeIdentifier>
|
|
<PublishDir Condition=" '$(RuntimeIdentifier)' == '' ">publish\any</PublishDir>
|
|
<PublishDir Condition=" '$(RuntimeIdentifier)' != '' ">publish\$(RuntimeIdentifier)</PublishDir>
|
|
<SelfContained Condition=" '$(RuntimeIdentifier)' == '' ">false</SelfContained>
|
|
<SelfContained Condition=" '$(SelfContained)' == '' ">true</SelfContained>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="publish\**" />
|
|
<EmbeddedResource Remove="publish\**" />
|
|
<None Remove="publish\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
|
<PackageReference Include="Serilog" Version="2.10.0" />
|
|
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.1" />
|
|
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
|
|
<PackageReference Include="Serilog.Exceptions" Version="6.1.0" />
|
|
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
|
|
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21216.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BililiveRecorder.Core\BililiveRecorder.Core.csproj" />
|
|
<ProjectReference Include="..\BililiveRecorder.ToolBox\BililiveRecorder.ToolBox.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|