How to build dll work both on 2.0 and 1.1?

D

davidw

I create c# project on a machine has 1.1, when install the project msi, it
asks to install .NET 1.1, but when go to microsoft sie, all you see are 2.0.
Even on machine install 1.1, the installation still ask for 2.0.

Is there a way I can make my dll work on both 1.1 and 2.0?

thanks!
 
F

Frans Bouma [C# MVP]

davidw said:
I create c# project on a machine has 1.1, when install the project
msi, it asks to install .NET 1.1, but when go to microsoft sie, all
you see are 2.0. Even on machine install 1.1, the installation still
ask for 2.0.

Is there a way I can make my dll work on both 1.1 and 2.0?

thanks!

A dll build for .net 1.1 will also work on .net 2.0 without a
problem, in 99% of the cases.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top