I'm trying to make a tool to generate wrappers around a specific .NET dll.
I created the node, then tried writing the property Constructor Node Class Name. I got error 1113, "LabVIEW: (Hex 0x459) Internal Error. The external object class was not found."
So, I manually made a node then read that property- aha, I need to add ".NET:" to the beginning of the method name; all well and good.
So, now I can write the property with that name and it works... until I go to write a different name.
Long story short, I seem to be able to write a type to a Constructor Node if I've manually set that node to that type before.
In other words, say my .NET assembly has methods A/B/C/D/E. If I manually set my constructor node to Method A, then B, then C, VI scripting lets me change it to A, B, and C, but not D or E. If I manually configure it to method D, now I can change it to A, B, C, and D, but still not E, until I manually configure it to E- then I can do whatever.
Any tips on getting this to work? I'm using "Assembly.LoadFrom" then "Assembly.GetTypes" to get a list of all Types. I thought this would pull the whole assembly into memory but it appears I'm not understanding something.