Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<Project>

<PropertyGroup>
<!-- Enable central package management, https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageVersion Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-windows' ">
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="6.0.6" />
</ItemGroup>

<ItemGroup>
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageVersion Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageVersion Include="MSTest.TestFramework" Version="2.2.7" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions WpfDemoApp/WpfDemoApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<ProjectReference Include="..\YoutubeDLSharp\YoutubeDLSharp.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-windows' ">
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.6" />
<PackageReference Include="Microsoft.CSharp" />
<PackageReference Include="System.Data.DataSetExtensions" />
<PackageReference Include="Microsoft.Windows.Compatibility" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions YoutubeDLSharp.Tests/YoutubeDLSharp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
</ItemGroup>

<ItemGroup>
Expand Down
24 changes: 12 additions & 12 deletions YoutubeDLSharp/YoutubeDLSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

Note: Package versions &gt;= 1.0 are optimized to work with yt-dlp.
Package versions 0.x retain support for the original youtube-dl.
</Description>
</Description>
<Copyright>© 2020-2026 Bluegrams</Copyright>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Bluegrams/YoutubeDLSharp</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>youtube video download youtube-dl yt-dlp</PackageTags>
<LangVersion>7.3</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -21,31 +21,31 @@ Package versions 0.x retain support for the original youtube-dl.

<PropertyGroup>
<VersionPrefix>1.2.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix></VersionSuffix>
<BuildYear>$([System.DateTime]::Now.ToString(yy))</BuildYear>
<BuildDay>$([System.DateTime]::Now.DayOfYear)</BuildDay>
<AssemblyVersion>$(VersionPrefix).$(BuildYear)$(BuildDay)</AssemblyVersion>
<PackageReleaseNotes>https://github.com/Bluegrams/YoutubeDLSharp/blob/master/Changelog.md</PackageReleaseNotes>
<RepositoryUrl>https://github.com/Bluegrams/YoutubeDLSharp</RepositoryUrl>
<RepositoryUrl>https://github.com/Bluegrams/YoutubeDLSharp</RepositoryUrl>
</PropertyGroup>

<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>

<ItemGroup>
<None Include="../README.md" Pack="true" PackagePath="\" />
<None Include="../README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" />
<PackageReference Include="System.ValueTuple" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Net.Http" />
</ItemGroup>

</Project>