On a Windows 2008 R2 server (with installed .NET 4, IO Lib Suite 17.2 and VEE Pro 9.32) I try to work with a sample dll compiled for .NET 4.
When I try to import my library via menu option Device -> .NET Assembly References -> Browse, I get the following error message box: VEE can't register the ActiveX control, please run VEE as administrator. .
This is followed by a subsequent error message box stating: "mydll.dll" is not a valid .NET assembly or COM type library file.
My library consists of a simple public class with a couple of static methods (to try different parameter types). With a test program, it works, so it does not look like a general .NET problem. Further, compiling it against .NET 3.5 works fine without problems.
How can I narrow the problem down ? What could be the reason ?