Use Visual Studio to create scripts

  • 324 Views
  • Last Post 13 March 2018
  • Topic Is Solved
zharvek posted this 13 March 2018

I understand I can use notepad to create scripts for Axial Control.

I usually have VS2015 open as I write code and utilties at work. When looking at the usings for the scripts, there are two primary references for Axial: "MLS.ZWave.Service.Rules" and "MLS.HA.DeviceController.Common.Device.ZWave".

I can reference the file "MLS.HA.DeviceController.Common.dll" and satisfy the "MLS.HA.DeviceController.Common.Device.ZWave" dependency, which DLL file does the Service Rules?

 

I would like to use VS because I then have access to the IDE tools and editor. I can then just copy/paste into the script file.

Order By: Standard | Newest | Votes
rscott posted this 13 March 2018

That namespace is defined in the "MLS.ZWave.Service.exe" file.

zharvek posted this 13 March 2018

Thanks.

For anyone else trying this, I had to add the following references to the project.

MLS.Common

MLS.DeviceController

MLS.HA.Device.Controller.Common

MLS.ZWave.Service

Close