Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
添加更多支持运行时
Browse files Browse the repository at this point in the history
  • Loading branch information
hzexe committed Dec 31, 2018
1 parent 0e4f0da commit f4edac6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
44 changes: 37 additions & 7 deletions QQMusic.hzexe.com/QQMusic.hzexe.com.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard1.6;netstandard2.0;net45</TargetFrameworks>
<TargetFrameworks>netstandard1.6;netstandard2.0;net45;net451;net452;net46;net461</TargetFrameworks>
<Title>Download music from QQ music</Title>
<Version>0.1.0</Version>
<PackageId>Hzexe.QQMusic</PackageId>
<Authors>Hzexe</Authors>
<Version>0.1</Version>
<AssemblyVersion>0.1.*</AssemblyVersion>
<PackageId>QQMusicLib</PackageId>
<Authors>Hzexe</Authors>
<Company />
<Product>QQMusic lib project</Product>
<Description>无需账号或会员从QQ音乐下载音乐文件,支持无损格式</Description>
<PackageTags>QQ music</PackageTags>
<PackageTags>QQ,music,QQ音乐</PackageTags>
<PackageProjectUrl>https://github.com/hzexe/Hzexe.QQMusic</PackageProjectUrl>
<RepositoryUrl>https://github.com/hzexe/Hzexe.QQMusic</RepositoryUrl>

<RepositoryType>git</RepositoryType>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Copyright>MIT</Copyright>
<Deterministic>False</Deterministic>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin/$(Configuration)/$(TargetFramework)/$(AssemblyName).xml</DocumentationFile>
<PackageLicenseUrl>https://raw.githubusercontent.com/hzexe/Hzexe.QQMusic/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>

<ItemGroup>
Expand All @@ -25,5 +36,24 @@
<Version>2.2.29</Version>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net451'">
<PackageReference Include="Microsoft.Net.Http">
<Version>2.2.29</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net452'">
<PackageReference Include="Microsoft.Net.Http">
<Version>2.2.29</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net46'">
<PackageReference Include="Microsoft.Net.Http">
<Version>2.2.29</Version>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
<PackageReference Include="Microsoft.Net.Http">
<Version>2.2.29</Version>
</PackageReference>
</ItemGroup>
</Project>
1 change: 0 additions & 1 deletion QQMusic.hzexe.com/QQMusicAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ public async Task downloadSongAsync(SongItem songItem, System.IO.Stream outstrea
/// </summary>
/// <param name="songItem">指定的歌曲</param>
/// <param name="songdir">存放指定的目录</param>
/// <param name="vkey">音乐对象</param>
/// <param name="downloadType">文件类型</param>
/// <returns>Task</returns>
public async Task downloadSongAsync(SongItem songItem, string songdir, IFiletype downloadType)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
下载指定歌曲的指定品质文件<br />
下载歌词<br />

安装:
---
NuGet:Install-Package QQMusicLib
.Net Cli:dotnet add package QQMusicLib

使用示例
---
Expand Down

0 comments on commit f4edac6

Please # to comment.