HighTechTalks DotNet Forums  

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

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss how to force a .net application to use .net 2.0 ? in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Daniel
 
Posts: n/a

Default how to force a .net application to use .net 2.0 ? - 09-21-2007 , 04:53 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



Reply With Quote
  #2  
Old   
sloan
 
Posts: n/a

Default Re: how to force a .net application to use .net 2.0 ? - 10-25-2007 , 02:07 PM






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 (AT) yahoo (DOT) com> wrote

Quote:
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




Reply With Quote
  #3  
Old   
Alvin Bruney [MVP]
 
Posts: n/a

Default Re: how to force a .net application to use .net 2.0 ? - 10-26-2007 , 09:45 PM



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/a5dzwzc9.aspx. But
you need to be aware of the issues, see:
http://support.microsoft.com/default...b;en-us;556035.

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 (AT) ipass (DOT) net> wrote

Quote:
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 (AT) yahoo (DOT) com> wrote in message
news:OQFd7FJ$HHA.600 (AT) TK2MSFTNGP05 (DOT) 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






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.