mirror of
https://github.com/jcreek/YouTubeChannelDownloader.git
synced 2026-07-13 03:03:46 +00:00
9e46c26728
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.
32 lines
1.4 KiB
XML
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 "$(ProjectDir)/DownloadFfmpeg.ps1"" />
|
|
<Copy SourceFiles="$(ProjectDir)/ffmpeg.exe" DestinationFiles="$(OutDir)/ffmpeg.exe" />
|
|
</Target>
|
|
|
|
<Target Name="Download FFmpeg before publish" BeforeTargets="PrepareForPublish">
|
|
<Exec Command="powershell -ExecutionPolicy Bypass -File "$(ProjectDir)/DownloadFfmpeg.ps1"" />
|
|
<Copy SourceFiles="$(ProjectDir)/ffmpeg.exe" DestinationFiles="$(PublishDir)/ffmpeg.exe" />
|
|
</Target> -->
|
|
|
|
</Project>
|