Skip to content

Commit

Permalink
update nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
gwnpeter committed Feb 19, 2023
1 parent 801d2c8 commit a0c5d19
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 289 deletions.
46 changes: 12 additions & 34 deletions MusicCacheParser/MusicCacheParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,10 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>MusicCacheParser.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="policy.2.0.taglib-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
<HintPath>..\packages\taglib.2.1.0.0\lib\policy.2.0.taglib-sharp.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
Expand All @@ -68,9 +65,6 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="taglib-sharp, Version=2.1.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
<HintPath>..\packages\taglib.2.1.0.0\lib\taglib-sharp.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -103,46 +97,30 @@
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Resource1.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="config.json" />
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="languages\" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.2</Version>
</PackageReference>
<PackageReference Include="TagLibSharp">
<Version>2.3.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
5 changes: 0 additions & 5 deletions MusicCacheParser/MusicParser.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.Remoting;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MusicCacheParser
{
Expand Down Expand Up @@ -404,7 +400,6 @@ private void ParseNeteaseFile(string path,MusicFileInfo info)
tag.Year = (uint)date.Year;
if (song1.Disc != null)
{
string s;
int disc;
if (int.TryParse(song1.Disc, out disc)) {
tag.Disc = (uint)disc;
Expand Down
15 changes: 3 additions & 12 deletions MusicCacheParser/MusicParserConfig.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Globalization;

namespace MusicCacheParserConfig
{

using System;
using System.Collections.Generic;

using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

public partial class MusicParserConfig
{
[JsonProperty("neteaseMusic")]
Expand Down
21 changes: 4 additions & 17 deletions MusicCacheParser/NeteaseMusicDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
// using QuickType;
//
// var neteaseMusicDetails = NeteaseMusicDetails.FromJson(jsonString);
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Globalization;

namespace QuickType
{
using System;
using System.Collections.Generic;

using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

public partial class NeteaseMusicDetails
{
[JsonProperty("songs")]
Expand Down Expand Up @@ -346,12 +343,7 @@ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSeria

namespace QuickType
{
using System;
using System.Collections.Generic;

using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

public partial class NeteaseIDX
{
Expand Down Expand Up @@ -386,12 +378,7 @@ public static class NeteaseIDXSerialize

namespace QuickType
{
using System;
using System.Collections.Generic;

using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

public partial class NeteaseInfo
{
Expand Down
3 changes: 0 additions & 3 deletions MusicCacheParser/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MusicCacheParser
Expand Down
63 changes: 0 additions & 63 deletions MusicCacheParser/Properties/Resources.Designer.cs

This file was deleted.

117 changes: 0 additions & 117 deletions MusicCacheParser/Properties/Resources.resx

This file was deleted.

26 changes: 0 additions & 26 deletions MusicCacheParser/Properties/Settings.Designer.cs

This file was deleted.

Loading

0 comments on commit a0c5d19

Please sign in to comment.