Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / October 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel - 21 Sep 2007 21:53 GMT
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
sloan - 25 Oct 2007 19:07 GMT
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.

> 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] - 27 Oct 2007 02:45 GMT
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.aspx?scid=kb;en-us;556035.

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

Signature

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

> It doesn't go down like that, dude. Sorry.
>
[quoted text clipped - 20 lines]
>> .net 2.0 instead of .net 1.0? this windows service is developed in visual
>> studio 2002

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.