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.
With the release of SmartConnector 2.2 comes a completely re-written SmartConnector Developers Guide.pdf This guide represents a walk through in how to create SmartConnector Extensions and is paired with sample Extension code available to you at https://github.com/BuildingsLabs/SmartConnectorSamples.
Link copied. Please paste this link to share this article on your social media post.
When trying to compile the sample code in VS2015, I several errors suggesting that I am missing 'an assembly or directive'. When I try to update the NuGet packages, the update fails. See attached screen shots below. I can however create a new Solution and project and import the NuGet packages no problem. Any ideas?
Link copied. Please paste this link to share this article on your social media post.
Hi Steve,
It looks like the project has some references to -beta assemblies which you probably don't have access to. You may be better to remove the Mongoose.* related packages from the project and then add them again for the version you have installed from the Package Manager feed. I haven't tried to compile the solution yet but I guess you could find a few solution errors if there are features used in the sample that aren't public yet. So you'd have to fix that in code.
Link copied. Please paste this link to share this article on your social media post.
I can't even remove the references to the packages. You will see in the screen shot that the installed version is 2.1.83 but you cannot uninstall it. It comes back with the same complaint that it cannot access the beta version 2.2.95
Link copied. Please paste this link to share this article on your social media post.
Ah, I don't have access to version 2.2.91 either so if that's the case we'll need Mark Stemmler to perhaps set up a new branch for the version or update the Github source to reference the released 2.2.108 package.
You would still need to update your local server instance to the released 2.2.108 version. I suppose you could create your own class library project, reference the 2.2.108 Mongoose packages and just copy in the classes of code in the mean time.
Link copied. Please paste this link to share this article on your social media post.
Yes that's pretty much what I have done. Copy pasted the content for each class and worked through the references. It would be nice to see the sample project updated to suit 2.2.108. Thanks
Link copied. Please paste this link to share this article on your social media post.
I did this on purpose to see if anyone used the samples.
I updated the solution in the master branch. Just synch the changes and you should be good to go. Sorry for the confusion and thanks for catching this.
Link copied. Please paste this link to share this article on your social media post.
Still have a couple of comile errors. It seems that the Mongoose.Service package is not available.
Link copied. Please paste this link to share this article on your social media post.
There is no NuGet for Mongoose.Service. That is the actual service you install.
Review section 6.1.2 "Install SmartConnector" and then follow the steps for that are enumerated in 6.2.2 "Add Reference to SmartConnector".
This is the normal process when debugging your Extension code in a developer environment.
Link copied. Please paste this link to share this article on your social media post.
Got it. I hadn't got to that section of the document yet. Thanks for the prompt reply.
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.