I'm not sure what I'm missing. I've writing a plugin for HS4, using the Visual Studio debugger. In my plugin Initialize() method, I have the following line:
I've placed my INI file under the RFPlugin-CS1\bin\Debug\Config\ folder. The dictionary is always empty.
I've tried putting the same INI file in various folders, i.e. the same location as the compiled EXE but it never gets populated. Also, no error is thrown if the file is not found.
My INI file contains:
I haven't created any feature pages yet, just trying to load Plugin settings on startup.
Any suggestions?
Code:
Dictionary<string, string> settingsINIDictionary = HomeSeerSystem.GetIniSection("Settings", "RFPlugin.ini");
I've tried putting the same INI file in various folders, i.e. the same location as the compiled EXE but it never gets populated. Also, no error is thrown if the file is not found.
My INI file contains:
Code:
[Settings] dumpDevices=True
Any suggestions?
Comment