.NET 1.1 Wrapper For 2.0 Class
-
Hey guys.... I don't really know how to create a wrapper..... but I'd like to. Anyhow, I'm writing a program in Visual Studio 2003, and I need access to a .NET 2.0 class. If I try to reference a .NET 2.0 assembly (dll) in Visual Studio 2003, I get the following error:
A reference to "C:\Slatesoft Development\utils.dll" could not be added. This is now a valid assembly or COM component. Only assemblies with the extension "dll" and COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Any help would be great. Thanks.
-
Hey guys.... I don't really know how to create a wrapper..... but I'd like to. Anyhow, I'm writing a program in Visual Studio 2003, and I need access to a .NET 2.0 class. If I try to reference a .NET 2.0 assembly (dll) in Visual Studio 2003, I get the following error:
A reference to "C:\Slatesoft Development\utils.dll" could not be added. This is now a valid assembly or COM component. Only assemblies with the extension "dll" and COM components can be referenced. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Any help would be great. Thanks.
You can't use 2.0 assemblies in VS 2003
only two letters away from being an asset
-
You can't use 2.0 assemblies in VS 2003
only two letters away from being an asset
Okay, I figured that's what the problem was. Is there any way to create a .NET 1.1 wrapper for the .NET 2.0 class?
-
Okay, I figured that's what the problem was. Is there any way to create a .NET 1.1 wrapper for the .NET 2.0 class?
-
No. YOU CAN NOT USE 2.0 CODE IN 1.1 ASSEMBLIES.
-- Rules of thumb should not be taken for the whole hand.