SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello,
As a new SmartConnector Extension Developer I follow Developer Guide Documentation.
However when I tried test (run and debug mode) I took
"OneTimeSetUp: System.IO.FileLoadException : Could not load file or assembly 'Mongoose.Common, Version=2.5.4.18, Culture=neutral, PublicKeyToken=223885051a9a1eff' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" error.
I used .Net Framework 4.7.2 and SmartConnector Mongoose 2.5.5.3
Why i got this error? Any idea or solution will help me. Thank you.
Link copied. Please paste this link to share this article on your social media post.
Hi,
The issue is that you probably does not have the same version of the DLL referenced in you application and the one available in your smartconnector installation folder.
Go in your smartconnector installation folder and locate the "Mongoose.Common.dll", then do right clic and properties, and check in the details what's the version of the DLL.
If the version does not match the one you refer in your application, then change you application so both version match.
Max
Link copied. Please paste this link to share this article on your social media post.
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Hi,
If you can let us know what was the problem, if fixed, it would help other person as well.
Thanks!
Link copied. Please paste this link to share this article on your social media post.
I changed the application's packages as a version of 2.5.4.18 and than took the "Could not load file or assembly 'StructureMap, Version=3.1.4.0, Culture=neutral, PublicKeyToken=5cb6388d33b04e56' or one of its dependencies. The system cannot find the file specified." error. I added the referances StructureMap.dll from Smart Connector installation folder. Now its ok.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.