Announcement

Collapse
No announcement yet.

Error with sample plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rien du Pre
    replied
    Sorry for the late reaction, I solved it with a config file.

    I thought these files will be created during the process, but apparently not.

    Thanks Wim

    Leave a comment:


  • w.vuyk
    replied
    Rien,

    Are you running the plugin complied, based on the HS4 installation, or from VS tracing? If you run it compiled from the HS4 directory, make sure you have a config file pointing to the Plugins bin directory, but it also has to include bin/homeseer as that is where the PluginSDK resides?

    Leave a comment:


  • Rien du Pre
    replied
    Hi Wim,
    I’m pretty sure I did that. The project does build without errors

    Leave a comment:


  • w.vuyk
    replied
    Rien,

    You will have to get the nuget packages for the plugnSDK and Newtonsoft first before that part will work.

    Wim

    Leave a comment:


  • Rien du Pre
    started a topic Error with sample plugin

    Error with sample plugin

    Hi,

    I started with the sample plugin, but I get an exception when I start the plugin.
    No error during build or HS4 start

    Using the latest version of it all (HS4, pluginsdk and plugin sample)

    System.IO.FileNotFoundException
    HResult=0x80070002
    Message=Could not load file or assembly 'PluginSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
    Source=<Cannot evaluate the exception source>
    StackTrace:
    <Cannot evaluate the exception stack trace>
Working...
X