BililiveRecorder/BililiveRecorder.Cli/BililiveRecorder.Cli.csproj

46 lines
1.4 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
2020-11-15 22:13:43 +08:00
<TargetFramework>netcoreapp3.1</TargetFramework>
<StartupObject>BililiveRecorder.Cli.Program</StartupObject>
</PropertyGroup>
2020-06-21 19:36:43 +08:00
<ItemGroup>
<None Remove="config.json" />
<None Remove="NLog.config" />
</ItemGroup>
<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>
<ItemGroup>
<PackageReference Include="Autofac" Version="4.9.4" />
<PackageReference Include="CommandLineParser" Version="2.4.3" />
2020-06-21 19:36:43 +08:00
<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)&#xD;&#xA;powershell -ExecutionPolicy Bypass -File .\CI\patch_buildinfo.ps1 Cli" />
</Target>
</Project>