Home All Groups Group Topic Archive Search About

will service/console app built with VS2003 run in a .NET 2.0 only host?

Author
11 Apr 2006 1:54 PM
hazz
If I built a console app to also run as a service using VS2003 and deploy
the service on a box that has only .NET 2.0 on it, will it work?
Why or why not?
thx.  -greg

Author
11 Apr 2006 4:16 PM
Patrice
Not tried this specifically. AFAIK it should. My understanding is that :
- by default it tries to run with the version it was build for
- using the application config file you can allow a 1.1 application to run
on 2.0 (see the supportedRuntime section)
- you have to test the application in this specific configuration

See :
http://msdn2.microsoft.com/en-US/library/9w519wzk(VS.80).aspx for details

--

"hazz" <h***@sonic.net> a écrit dans le message de news:
ukCdA%23WXGHA.1***@TK2MSFTNGP04.phx.gbl...
Show quoteHide quote
> If I built a console app to also run as a service using VS2003 and deploy
> the service on a box that has only .NET 2.0 on it, will it work?
> Why or why not?
> thx.  -greg
>
Author
11 Apr 2006 4:33 PM
hazz
Thank you for the info Patrice !  The link was very helpful !
Appreciatively,  -Greg

Show quoteHide quote
"Patrice" <scr***@chez.com> wrote in message
news:OuXrdNYXGHA.3492@TK2MSFTNGP05.phx.gbl...
> Not tried this specifically. AFAIK it should. My understanding is that :
> - by default it tries to run with the version it was build for
> - using the application config file you can allow a 1.1 application to run
> on 2.0 (see the supportedRuntime section)
> - you have to test the application in this specific configuration
>
> See :
> http://msdn2.microsoft.com/en-US/library/9w519wzk(VS.80).aspx for details
>
> --
>
> "hazz" <h***@sonic.net> a écrit dans le message de news:
> ukCdA%23WXGHA.1***@TK2MSFTNGP04.phx.gbl...
>> If I built a console app to also run as a service using VS2003 and deploy
>> the service on a box that has only .NET 2.0 on it, will it work?
>> Why or why not?
>> thx.  -greg
>>
>
>