Files
YouTubeChannelDownloader/YouTubeChannelDownloader/YouTubeChannelDownloader.csproj
T
Josh Creek 9e46c26728 feat(*): Add Windows ffmpeg support
This is only for people wanting to run this as a console application on windows, it's completely unnecessary for running this in a docker container.
2021-08-29 15:46:47 +01:00

32 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Creek.HelpfulExtensions" Version="1.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.9">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.9" />
<PackageReference Include="SSH.NET" Version="2020.0.1" />
<PackageReference Include="YoutubeExplode" Version="6.0.5" />
<PackageReference Include="YoutubeExplode.Converter" Version="2.1.0" />
</ItemGroup>
<!-- This downloads FFmpeg and copies it to output directory-->
<!-- <Target Name="Download FFmpeg before build" BeforeTargets="PreBuildEvent">
<Exec Command="powershell -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadFfmpeg.ps1&quot;" />
<Copy SourceFiles="$(ProjectDir)/ffmpeg.exe" DestinationFiles="$(OutDir)/ffmpeg.exe" />
</Target>
<Target Name="Download FFmpeg before publish" BeforeTargets="PrepareForPublish">
<Exec Command="powershell -ExecutionPolicy Bypass -File &quot;$(ProjectDir)/DownloadFfmpeg.ps1&quot;" />
<Copy SourceFiles="$(ProjectDir)/ffmpeg.exe" DestinationFiles="$(PublishDir)/ffmpeg.exe" />
</Target> -->
</Project>