Update dependencies

This commit is contained in:
Starbeamrainbowlabs 2019-02-21 23:13:14 +00:00
parent 4031a30b21
commit 222b197bc6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
4 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ namespace MusicBoxConverter
/// <summary>
/// The height of a strip for this music box, in millimetres.
/// </summary>
public float StripHeightMm = 58.2f;
public float StripHeightMm = 58.19f;
public List<string> ValidNotes { get; private set; }
public Note LowestNote {

View file

@ -32,7 +32,7 @@
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="Melanchall.DryWetMidi">
<HintPath>..\packages\Melanchall.DryWetMidi.2.0.1\lib\net45\Melanchall.DryWetMidi.dll</HintPath>
<HintPath>..\packages\Melanchall.DryWetMidi.4.0.0\lib\net45\Melanchall.DryWetMidi.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
@ -49,10 +49,10 @@
<Folder Include="Utilities\" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<EmbeddedResource Include="Help.txt" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Help.txt" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -17,7 +17,7 @@ namespace MusicBoxConverter
{
string noteLetter = Regex.Replace(note, "[0-9]", "").Replace("#", "Sharp");
int octave = int.Parse(Regex.Replace(note, "[^0-9]", ""));
NoteName noteName = (NoteName)Enum.Parse(typeof(NoteName), noteLetter);
Melanchall.DryWetMidi.MusicTheory.NoteName noteName = (Melanchall.DryWetMidi.MusicTheory.NoteName)Enum.Parse(typeof(Melanchall.DryWetMidi.MusicTheory.NoteName), noteLetter);
return new Note(noteName, octave);
}
}

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Melanchall.DryWetMidi" version="2.0.1" targetFramework="net461" />
<package id="Melanchall.DryWetMidi" version="4.0.0" targetFramework="net461" />
</packages>