[Mono-dev] [Fwd: [Mono-patches] r116660 - trunk/mono/data/net_2_0]

Marek Habersack grendel at twistedcode.net
Wed Oct 22 10:32:51 EDT 2008


On Wed, 22 Oct 2008 13:47:46 +0900
Atsushi Eno <atsushi at ximian.com> wrote:

> Hi grendel,
Hey Atsushi,

> How does this break 2.0 apps? They do not exist in .NET, but
> they do in our 2.0 profile (lib/mono/2.0).
If you have an application which uses System.Web.Extensions 1.0, it will break. The
Telerik controls (for 2.0), for instance, failed to compile because the compiler
complained about duplicate symbols in the assemblies. .NET leaves the assemblies out
for the same reason - to support legacy 2.0 apps painlessly. If you want to make it
easier to reference 3.5 libraries in a project, I'd recommend adding a .NET 3.5 rule
to mconfig (in the similar fashion AJAX is added). See
mcs/tools/mconfig/data/config.xml and http://www.mono-project.com/Howto_Mconfig

best,

marek
 
> Atsushi Eno
> 
> -------- Original Message --------
> Subject: [Mono-patches] r116660 - trunk/mono/data/net_2_0
> Date: Tue, 21 Oct 2008 14:40:56 -0400 (EDT)
> From: Marek Habersack (grendello at gmail.com) 
> <mono-patches-list at lists.ximian.com>
> To: mono-patches at lists.ximian.com, ximian.monolist at gmail.com, 
> mono-svn-patches-garchive-20758 at googlegroups.com
> 
> Author: mhabersack
> Date: 2008-10-21 14:40:56 -0400 (Tue, 21 Oct 2008)
> New Revision: 116660
> 
> Modified:
>     trunk/mono/data/net_2_0/web.config
> Log:
> Revert r116595 - the 3.5 assemblies mustn't be included in the system 
> web.config - it breaks all 2.0 applications
> 
> Modified: trunk/mono/data/net_2_0/web.config
> ===================================================================
> --- trunk/mono/data/net_2_0/web.config	2008-10-21 18:40:38 UTC (rev 116659)
> +++ trunk/mono/data/net_2_0/web.config	2008-10-21 18:40:56 UTC (rev 116660)
> @@ -75,11 +75,9 @@
>               			<add
> namespace="System.Text.RegularExpressions" /> <add namespace="System.Web" />
>               			<add namespace="System.Web.Caching" />
> -            			<add namespace="System.Web.DynamicData" />
>               			<add namespace="System.Web.SessionState" />
>               			<add namespace="System.Web.Security" />
>               			<add namespace="System.Web.Profile" />
> -            			<add namespace="System.Web.Routing" />
>               			<add namespace="System.Web.UI" />
>               			<add namespace="System.Web.UI.WebControls" />
>               			<!-- <add 
> namespace="System.Web.UI.WebControls.WebParts" /> -->
> @@ -96,10 +94,6 @@
>               			<add assembly="System.Drawing,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
>               			<add assembly="System.Web, Version=2.0.0.0, 
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
>               			<add assembly="System.Web.Services,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
> -            			<add assembly="System.Web.Extensions,
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
> -            			<add assembly="System.Web.Abstractions,
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
> -            			<add assembly="System.Web.Routing,
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
> -            			<add assembly="System.Web.DynamicData,
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
>               			<add assembly="System.Xml, Version=2.0.0.0, 
> Culture=neutral, PublicKeyToken=b77a5c561934e089" />
>   				<add assembly="*" /> <!-- Add assemblies in bin
> directory --> </assemblies>
> 
> _______________________________________________
> Mono-patches maillist  -  Mono-patches at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-patches
> 


More information about the Mono-devel-list mailing list