I opened a .net 4.8 project, then added the nuget package and the code
using (var deck = StreamDeck.OpenDevice())
{
deck.SetBrightness(100);
}
resulted in the following errors. I did notice that the dependent nuget packages did not load, and tried again after I loaded them as well. Same result. I hope I can use this package, it is exactly what I was looking for.
error CS0012: The type 'IMacroBoard' is defined in an assembly that is not referenced. You must add a reference to assembly 'OpenMacroBoard.SDK, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null'.
error CS0012: The type 'IMacroBoard' is defined in an assembly that is not referenced. You must add a reference to assembly 'OpenMacroBoard.SDK, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null'.
error CS1061: 'IStreamDeckBoard' does not contain a definition for 'SetBrightness' and no accessible extension method 'SetBrightness' accepting a first argument of type 'IStreamDeckBoard' could be found (are you missing a using directive or an assembly reference?)
I opened a .net 4.8 project, then added the nuget package and the code
resulted in the following errors. I did notice that the dependent nuget packages did not load, and tried again after I loaded them as well. Same result. I hope I can use this package, it is exactly what I was looking for.
error CS0012: The type 'IMacroBoard' is defined in an assembly that is not referenced. You must add a reference to assembly 'OpenMacroBoard.SDK, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null'. error CS0012: The type 'IMacroBoard' is defined in an assembly that is not referenced. You must add a reference to assembly 'OpenMacroBoard.SDK, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null'. error CS1061: 'IStreamDeckBoard' does not contain a definition for 'SetBrightness' and no accessible extension method 'SetBrightness' accepting a first argument of type 'IStreamDeckBoard' could be found (are you missing a using directive or an assembly reference?)