OK, I'm confused now. I've got this large application that's using a couple of private .NET assemblies we got from somebody else. The application
works just fine in the development environment (LabVIEW 8.2), but when I build the application, the application is not executable and I get that oh so useful message "The VI is not executable. The full development version of LabVIEW is required to fix the errors." No clues as to what the problem actually is. Anyway, I did a little playing around creating a simple project with one VI that called the constructor for the classes in these prvate .NET assemblies. It turns out that whenever I reference one of these assemblies I am unable to build an executable that will actually run. I have not encountere this problem with other .NET assemblies, which leads me to believe it's something to do with these particular assemblies. Thing is, if I write a wrapper .NET assembly around these private .NET assemblies and use the wrapper .NET assembly, then the executable runs just fine! Am I missing something obsecenely obvious with building the app? Are there any special properties a .NET assembly needs to have in order for it to work in an executable? I thought it might have been due to it not finding the assembly but I even created a .config file with the build application specifying search paths. That didn't help, and given the fact that the wrapper .NET assembly works I don't think it's an issue with it not finding the .NET assemblies. One thing that it might be due to, but I'm not sure since I don't know the innards of what LabVIEW is doing with .NET is that both of the private .NET assemblies have a class with the same name, but they're in different namespaces. Just grasping at straws here, really.
Any clues or tips on what to check?
By the way, I cannot submit the private assemblies since they're proprietary.