Closed voxoid0 closed 5 years ago
Hi. Maybe you are referencing managed-midi from a netstandard package? managed-midi needs to be directly referenced from the Uwp project so that the Uwp version of the assembly is resolved. The netstandard version is a "bait" part of it which contains only Empty MidiAccess.
Hmm, I'm referencing it from the UWP app, and from a class within that project I cannot access UwpAccessManager nor its namespace Commons.Music.Midi.UwpWithStub.Commons.Music.Midi.UwpMidi
Okay, I think I found out why. Let me push possible fix and update package.
1.9.2 will (1) contain Commons.Music.Midi.UwpMidi.UwpMidiAccess
(as well as the old one in the bogus namespace) and (2) it will be set as MidiAccessManager.Default. Thanks for the report!
Nice, thanks for your fast help!
Hi. In my UWP (Xamarin.Forms) app, MidiAccessManager.Default returns an instance of EmptyMidiAccess . How can I get an instance of the UwpAccessManager? Presumably that is what I want, and I don't know of a way to directly instantiate it by depending on the nuget package.