PDA

Click to See Complete Forum and Search --> : .net framework v2 but want to run v1...


lidds
Oct 30th, 2007, 03:56 AM
I have written a very simple application in vs2005. This application is using system.dll, system.drawing.dll and system.windows.forms.dll however because I have .net framework v2 on my computer it is using that version of the dll's. However the majority of the computers that I want to run this on e.g. over 500 have .net framework v1.1

When I try to run my exe on the other machines, it obviously tells me that this app requires .net framework v2 to run. Is there a way that I can get my app to use .net framework v1 instead?

I do not really want to install .net framework v2 on all the machines.

Thanks in advance

Simon

Hack
Oct 30th, 2007, 08:27 AM
No. If your code was written under v2 then it will need v2 to run.

Two questions:

Why are not the other machines updated?
Do you have a machine available to you that runs v1?

randem
Oct 30th, 2007, 05:19 PM
Include the .NET v2 framework install with your installation

RobDog888
Oct 30th, 2007, 05:42 PM
You could use the Bootstrapper to install 2.0 from your installation package.

http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/

Hack
Oct 31st, 2007, 09:48 AM
If he installs v2 with his app, won't it overlay v1?

RobDog888
Oct 31st, 2007, 09:52 AM
No, it will run side by side.