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