Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I wanna use a FrameWork 2.0 Component in Visual Studio 2003 (C#), is it easy and possible?

I wanna use the FrameWork 2.0 SerialPort component (it has to be the component, not with other serial port components) in my C# 2003 application i and don't know how to do this.

 

Any help will be welcome.

 

rgds

Tiago Teixeira

Posted
In the limited experimentation I've don so far, taking 2.0 assemblies to 1.1 will not work. Taking 1.1 assemblies to 2.0 will work, but there may be warnings when you compile the 2.0 program that uses them. If you were to rebuild the 2.0 assembly for 1.1 then it would probably work for a 1.1 program.
Posted

From the ILMerge website.

The v2.0 version of ILMerge runs in the v2.0 .NET Runtime, but it is also able to merge v1 or v1.1 assemblies. However, it can merge PDB files only for v2 assemblies. The v1.1 version of ILMerge can only process assemblies built in the v1.1 runtime (but does merge PDB files for those assemblies).
So it looks like that is not going to work in this case.

 

That tool looks really sweet, though. Excellent find.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...