[Mono-dev] ASP.NET ObjectDataSource problem
grendello at gmail.com
Wed Jan 3 17:10:45 EST 2007
On Wed, 3 Jan 2007 13:14:13 -0800, "Konstantin Triger"
<kostat at mainsoft.com> scribbled:
> RE: [Mono-dev] ASP.NET ObjectDataSource problem
> Hello Marek,
> Can you explain better your fix? According to MSDN's
> Therefore, the value of the TypeName property can be a partially
> qualified type for code that is located in the Bin or App_Code
> directories or a fully qualified type name for code that is
> registered in the global assembly cache. If you use the global
> assembly cache, you must add the appropriate reference to the
> assemblies section of the Machine.config or Web.config file.
> So for the App_Code and GAC located types the Type.GetType() will do
> and for Bin located types the code looking into the BinPath will find
> them. What is the case when we need BuildManager.TopLevelAssemblies?
Type.GetType() does not look in all the loaded assemblies if the type
name is unqualified (see
type names are sought only in the currently executing assembly and
Mscorlib. That's why it is necessary to explicitly seek for unqualified
types in both the bin and the top-level assemblies. App_Code dll is
indeed loaded up by the time objectdatasourceview is used.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070103/17df8111/attachment.bin
More information about the Mono-devel-list