2020-12-17 18:55:58 +08:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2020-01-05 23:47:38 +08:00
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<OutputType>Exe</OutputType>
|
2020-11-15 22:13:43 +08:00
|
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
2020-01-05 23:47:38 +08:00
|
|
|
<StartupObject>BililiveRecorder.Cli.Program</StartupObject>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2020-06-21 19:36:43 +08:00
|
|
|
<ItemGroup>
|
|
|
|
<None Remove="config.json" />
|
|
|
|
<None Remove="NLog.config" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2020-01-05 23:47:38 +08:00
|
|
|
<ItemGroup>
|
|
|
|
<Compile Include="..\TempBuildInfo\BuildInfo.Cli.cs" />
|
|
|
|
</ItemGroup>
|
2020-06-21 19:36:43 +08:00
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<Content Include="config.json">
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</Content>
|
|
|
|
<Content Include="NLog.config">
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</Content>
|
|
|
|
</ItemGroup>
|
2020-01-05 23:47:38 +08:00
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Autofac" Version="4.9.4" />
|
|
|
|
<PackageReference Include="CommandLineParser" Version="2.4.3" />
|
2020-12-17 18:55:58 +08:00
|
|
|
<PackageReference Include="NLog" Version="4.7.6" />
|
|
|
|
<PackageReference Include="NLog.Config" Version="4.7.6" />
|
2020-01-05 23:47:38 +08:00
|
|
|
</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>
|