bugDotGNU Portable.NET - Bugs: bug #4136, Type.GetType doesn't load new...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4136: Type.GetType doesn't load new assemblies

Submitter:  Thong Nguyen <tum>
Submitted:  Sun 29 Jun 2003 04:35:43 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 22 May 2004 03:06:14 PM UTC, comment #3: 

Appears to be working now.

Thong Nguyen <tum>
Group Member
Sun 25 Apr 2004 09:51:50 PM UTC, comment #2: 

"B, B" is a valid qualified name for the type "B".  FYI, the code works on MS.NET.

Thong Nguyen <tum>
Group Member
Mon 27 Oct 2003 09:00:57 PM UTC, comment #1: 

AFAIK Type.GetType() will NOT load the type unless the name passed is the fully qualified name of the assembly and type.

Llewellyn Pritchard <leppie>
Group Member
Sun 29 Jun 2003 04:35:43 PM UTC, original submission:  

Example:

// a.exe

using System;

public class A
{
   public static void Main()
   {
       Type.GetType("B, B", true);
   }
}

// b.dll

public class B
{
}


A throws an exception.  Type.GetType should automatically load up b.dll if it isn't already loaded using the usual resolution rules.

Thong Nguyen <tum>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-22 tum Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-bb6a.
Corresponding source code