ResourceType field of Resource class is not processed correctly when it has to deal with named resource types.
The DTF documentation says about ResourceType: "Gets or sets the type of the resource. This may be a user-defined type if it doesn't match any of the ResourceType enumerated values."
Unfortunately the value for named resource types is file-specific, so it can't be used to recognize the types correctly.
My suggestion: change ResourceType from enum to string, exactly same as it is done in Name field.
Changed ResourceType from an enum to a class which handles both int and string resource types.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 21 days (the time period specified by
the administrator of this Tracker).