I have a problem with NATUPnP 1.0 Type Library to work with Framework 3.5 in Visual Studio 2010. If I use .NET 4.0, it works fine, but with Net 3.5, NATUPNPLib's namespace looks like excactly as NETCONLib.
For example, application of port forwarding management from this site is sample:
I have not tried, but I bet in Visual Studio 2008 no problem.
I get partly repro me also two different interop libraries but I have both VS 2008 and VS 02010 But I do this. Add Reference + COM tab, take a close look at the Path column. See both the same DLL, c: \ windows \ system32 \ hnetcfg.dll ".
OK, it is understood that the same interop library will be generated from that DLL. I think that anyone in Microsoft has decided that there is a flutter in Type Library names and the registration process has been changed to register under a new name. And Register under the old name so that the breaks do not match the previous compatibility. Sure, but "Con" is one of those mysterious additions (?) Which is popping up frequently on the Microsoft Type Library names. "UPNP" puts the job down better, I think.
If you run a 64-bit operating system, then it does not matter. Choose the Do name that shows VS 2010. Otherwise, the same type of library will have the same COM Any meaning of referencing the server twice No work will be done.
Comments
Post a Comment