Asus: Remove System.Management
I've had dependency problem with Aurora and my only solution was this. I know this is project specific change but I think this dependency is unnecessary anyway.
It should be removed so that it won't be problem for other projects in the future.
what is the issue with the dependency? since this is quite a major breaking change for the provider i'd prefer to fix the actual problem.
Error was like "Interop.AuraServiceLib.dll not found" or something. Research on internet said it was version conflict. I used various tools to figure out the conflict but none of them gave any clue. Difference between Aurora and Artemis was .net version and System.* dependencies. Removing System.Management from this library fixed my problem
Also, these changes made sense
This doesn't make any sense - if the error is "Interop.AuraServiceLib.dll not found" then it normally is exactly this - sometimes aura does not correctly register it in the GAC, that's why artemis is distributing it.
I made sure to put the dll everywhere it can be found...
And this change fixes that
yeah, but this change is also breaking device detection for some devices and i really can't see any relation between that dependency and the capability of finding a library. can you provide a full error message and stacktrace for the error?
from looking at it i'd say you have your version conflict in aurora as you're explicitely referencing 6.0.0 of System.Management, the provider uses 7.0.0. i still don't see why that would cause in issue related to the interop lib but you'd need to generate binding redirects to fix that (or update the lib in aurora)
Well I'm out of arguments :)
Thank you for your fix, it fixed the issue with the asus aura devices for me too, I was having the same issue as you had :)