1

Closed

Save check of the BaseType in IOAccessManagement.cs

description

Hi All,
 
FYI
 
I just run into an problem when trying to add an debug dll with my task as a new task in the client application.
When scanning the dll for modules there is an check in IOAccessManagement.cs on line ~86:
 
if (type.BaseType.ToString() == typeof(TaskBase).ToString())
 
When a assembly contains an Interface this will crash. Because the BaseType is null.
I changed the line to:
 
if (type.IsSubclassOf(typeof(TaskBase)))
 
And worked like a charm.
 
Just my to cents,
 
André
 
P.S. create application, thanx!
Closed Aug 24, 2009 at 4:11 PM by sbollaerts
Thanks a lot! I add your fix in the code. It will be in the next release (1.0.4)

comments