I am trying to build a dashboard outside of the NT environment, but to integrate with NT by subscribing to events, etc. I had a good start, compiled to a dll, tested it with a windows app outside NT, then moved the dll to the custom directory, and referenced it. But it won't compile in NT. I get a null reference exception but have no idea what object is null.
Next I tried to just put my visual studio project folder code in the custom directory. Deleted the reference to the dll, and the dll itself. NT does see and attempt to compile the code, but I get other errors. Also tried putting the project folder in the AddOns directory. No dice. The last error that is defeating me is this:
The name 'InitializeComponent' does not exist in the current context
The InitializeComponent it is talking about is when my windows window (as opposed to an NTWindow) is instantiated. But again, it works fine from my visual studio test application.
I am wondering if what I am trying to do is even possible. If not, then if I change to a NTWindow as per your documentation, does NT support all the xaml layout and other controls that I have been using in visual studio?
I personally think it is much easier to build a complex form in VS, and just import it with a DLL in NT, so I hope that option can work.
Thanks for your help,
Roger
Comment