I'm a little confused by your reply ("May be I shouldn't add the references when I am working from the same dll ?"), so I'll reply to part of it and say how it "should" work. I should also clarify as to whether you are experiencing a broken run button or a runtime error??? If you still have the code that doesn't work, please email it to me if you can -- or an example. I really want to make sure you aren't experiencing a bug that I am unfamiliar with.
When it comes to the .NET Assembly Reference window, it only affects the edit mode of LabVIEW. When you add the reference, it allows LabVIEW to find the assembly when dropping constructor nodes, etc.
When you actually run the VI, the reference window doesn't come into play because we call Load() during the constructor execution. This means we turn over to Fusion the searching for the assembly. At that point, the assembly needs to be
1. In the GAC, where the version string in the VI will be used to find the exact version in the GAC (not counting version policy files)
2. In the same directory as the top level VI. In this case the version should be ignored.
There is also a handy tool in the .NET SDK from Microsoft called FUSLOGVW.exe. It can be configured to show exactly what Fusion is trying to do. If you want, I can walk you through that one...hmmm, sounds like another good blog entry
🙂By the way - I am happy to report that this Constellation will be a lot hotter than -3K! I'll try to get that entry done this weekend.
Brian