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 / .NET Framework / New Users / September 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
Mattias Sjögren - 21 Sep 2007 21:55 GMT
>how to force a .net application to use .net 2.0 ?

You can specify that in the application configuration file, using the
<supportedRuntime> element.

Mattias

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Michael Nemtsev, MVP - 22 Sep 2007 09:58 GMT
Hello Daniel,

Just to add to Mattias's post the compatibilityversion element may be usefull
for this
see the detailed explanation there http://msdn2.microsoft.com/en-us/library/d5cd9b2c.aspx

---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

D> how to force a .net application to use .net 2.0 ?
D> this windows service  is about 4 years old and im pretty sure is
D> using .net
D> 1.x runtime. Is there soem setting in the installer that says to use
D> .net
D> 2.0 instead of .net 1.0? this windows service is developed in visual
D> studio
D> 2002
G Himangi - 25 Sep 2007 08:10 GMT
FYI the version string for .Net 2.0 is "v2.0.50727"

---------
- G Himangi,   Sky Software       http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------

> 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

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.