Weird compatibility problem with .Net 3.5 and 4.0 assemblies (NATUPnPLib)
Posted
by Juha
on Stack Overflow
See other posts from Stack Overflow
or by Juha
Published on 2010-05-15T22:56:36Z
Indexed on
2010/05/15
23:00 UTC
Read the original article
Hit count: 252
I'm having trouble getting NATUPnP 1.0 Type Library to work with Framework 3.5 in Visual Studio 2010. If I use .Net 4.0, it works just fine, but with .Net 3.5, NATUPNPLib's namespace looks excactly like NETCONLib's.
For example this Port Forwarding Management Application sample from this site: http://pietschsoft.com/post/2009/02/05/NET-Framework-Communicate-through-NAT-Router-via-UPnP.aspx
..is using .Net 3.5, but I can't get it to compile in Visual Studio 2010 unless I change it to .Net 4.0.
I haven't tried, but I bet in Visual Studio 2008 there would be no problems.
© Stack Overflow or respective owner