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.
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?
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.
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
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.
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
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.
Still have a couple of comile errors. It seems that the Mongoose.Service package is not available.
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.
Got it. I hadn't got to that section of the document yet. Thanks for the prompt reply.