I have a strong named assembly that targets 1.0 of the framework so that
clients don't have to have 1.1 or 2.0 to use it. I've found supporting email
beyond the very basic to be a difficult problem because the Fields property
that allows specification of cdo supported things like port number and ssl
did not come in System.Web.Mail until 1.1. So I was thinking of targeting
1.1 if available so that I could in that case provide the type of email
functionality I want to provide. 

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Ted Neward
Sent: Tuesday, December 20, 2005 7:01 PM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] runtime framework targeting

Why would an assembly want to change the version of the runtime it wants to
target anyway? What's your use case here? I'm curious.

Ted Neward
Author, Presenter, Consultant
Java, .NET, XML services
http://blogs.tedneward.com

> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Alex Smotritsky
> Sent: Tuesday, December 20, 2005 2:29 PM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] runtime framework targeting
> 
> thanks
> 
> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of Mattias Sjögren
> Sent: Tuesday, December 20, 2005 5:25 PM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] runtime framework targeting
> 
>  >Can an assembly decide at runtime which version of the framework to
> target?
> 
> No, by the time the assembly's code runs there's already a CLR version
> loaded, and there can only be one version per process.
> 
> 
> Mattias
> 
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
> 
> View archives and manage your subscription(s) at
> http://discuss.develop.com
> 
> ===================================
> This list is hosted by DevelopMentor®  http://www.develop.com
> 
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to