mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
46 lines
1.4 KiB
XML
46 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
<StartupObject>BililiveRecorder.Cli.Program</StartupObject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="config.json" />
|
|
<None Remove="NLog.config" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\TempBuildInfo\BuildInfo.Cli.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="config.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="NLog.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Autofac" Version="4.9.4" />
|
|
<PackageReference Include="CommandLineParser" Version="2.4.3" />
|
|
<PackageReference Include="NLog" Version="4.5.10" />
|
|
<PackageReference Include="NLog.Config" Version="4.5.10" />
|
|
<PackageReference Include="NLog.Schema" Version="4.5.10" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\BililiveRecorder.Core\BililiveRecorder.Core.csproj" />
|
|
<ProjectReference Include="..\BililiveRecorder.FlvProcessor\BililiveRecorder.FlvProcessor.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="cd $(SolutionDir)
powershell -ExecutionPolicy Bypass -File .\CI\patch_buildinfo.ps1 Cli" />
|
|
</Target>
|
|
|
|
|
|
</Project>
|