[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

how to force a .net application to use .net 2.0 ?

Daniel

9/21/2007 8:54:00 PM

how to force a .net application to use .net 2.0 ?
this windows service is about 4 years old and im pretty sure is using .net
1.x runtime. Is there soem setting in the installer that says to use .net
2.0 instead of .net 1.0? this windows service is developed in visual studio
2002


2 Answers

sloan

10/25/2007 6:08:00 PM

0

It doesn't go down like that, dude. Sorry.

You gotta get VS2005.

Open up your project/solution VS2005.

It'll "convert" to 2.0.

THen you compile, and hope nothing broke (deprecated calls perhaps).

...

AFter you do that, you make sure 2.0 framework is on the Server, and you
redeploy it.

...

It it ain't broke, don't fix it.




"Daniel" <softwareengineer98037@yahoo.com> wrote in message
news:OQFd7FJ$HHA.600@TK2MSFTNGP05.phx.gbl...
> how to force a .net application to use .net 2.0 ?
> this windows service is about 4 years old and im pretty sure is using
> .net 1.x runtime. Is there soem setting in the installer that says to use
> .net 2.0 instead of .net 1.0? this windows service is developed in visual
> studio 2002
>


Alvin Bruney [MVP]

10/27/2007 1:45:00 AM

0

Actually, it can work like that, well sort of.

You can add a configuration file with the appropriate configuration
elements, see http://msdn2.microsoft.com/en-us/library/a5d.... But
you need to be aware of the issues, see:
http://support.microsoft.com/default.aspx?scid=kb;en....

As Sloan pointed out, your best bet (foolproof approach) is to recompile the
app in 2.0.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless Author Plug
OWC Black Book 2nd Edition
Exclusively on www.lulu.com/owc
$24.99


"sloan" <sloan@ipass.net> wrote in message
news:uMFD6HzFIHA.4752@TK2MSFTNGP04.phx.gbl...
> It doesn't go down like that, dude. Sorry.
>
> You gotta get VS2005.
>
> Open up your project/solution VS2005.
>
> It'll "convert" to 2.0.
>
> THen you compile, and hope nothing broke (deprecated calls perhaps).
>
> ..
>
> AFter you do that, you make sure 2.0 framework is on the Server, and you
> redeploy it.
>
> ..
>
> It it ain't broke, don't fix it.
>
>
>
>
> "Daniel" <softwareengineer98037@yahoo.com> wrote in message
> news:OQFd7FJ$HHA.600@TK2MSFTNGP05.phx.gbl...
>> how to force a .net application to use .net 2.0 ?
>> this windows service is about 4 years old and im pretty sure is using
>> .net 1.x runtime. Is there soem setting in the installer that says to use
>> .net 2.0 instead of .net 1.0? this windows service is developed in visual
>> studio 2002
>>
>
>