Closed MalauD closed 5 years ago
Can you create a small project which can reproduce this error, so I can have a look? Is your app running on the .Net framework? Version 4.1? Or something else?
There is the same error on a small project with my control. If you want you can see my repo for the project and get the control library to reproduce the error.
Yes, please show me the project so I can reproduce it. Thanks.
So the control library is here https://github.com/MusicsOnlinePlayer/MusicsOnlinePlayer/tree/master/ControlLibrary/User%20Interface and the control is called HueControl.cs
I downloaded the project and I can run the ControlLibrary project. Select the HueControl and press connect. After that I receive some error about a config XML file. But that seems unrelated to the Hue library.
How can I reproduce this error?
Ok but other than the XML error you have no error when loading the control ?
For the xml you have to create a file called Config.xml in your debug folder then place and complete this in your file:
<?xml version="1.0" encoding="utf-8"?>
<Settings>
<HueIp>192.168.1.XXX</HueIp>
<HueKey></HueKey>
<ServerIp>127.0.0.1</ServerIp>
</Settings>
When I create the XML file, the control still loads correct. I can click the Connect button and I see a list of all my Hue lights.
Ok that interesting. I know this kind of ridiculous but can you give the .net version, the system.runtime version of the dll and the system.runtime version and nuget. Thank you again 😉
.Net Framework 4.7.1 Runtime v4.0.30319 Q42.HueApi Version 3.7.2.0
It's your repository without any modifications.
Hello, so in my project, i'm using a control dedicated for an hue interface and i have an issue with the dependency of Q42 when the control load. It exactly say:
System.IO.FileNotFoundException : 'Couldn't load the file or assembly 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' one ofde it dependency.
Note that i did the following things:
I hope i'm enough clear otherwise ask me for more details 😄
By the way thanks for this amazing library 😉