I can't get to import enums.
I'm using v5.2
I created enum.typeimports file.
<typeImports>
<typeImport typeName="Company.Project.TypeConverters.PaymentTransaction.SourceType" assemblyFile="C:\....\Company.Project.TypeConverters.dll"/>
<typeImport typeName="Company.Project.TypeConverters.PaymentTransaction.Status" assemblyFile="C:\....\Company.Project.TypeConverters.dll"/>
</typeImports>
which has
namespace Company.Project.TypeConverters
{
public struct PaymentTransaction
{
public enum SourceType
{
Undefined = 0,
Cart,
Invoice
}
public enum Status
{
Undefined = 0,
Cancelled,
Completed
}
}
}
I added the folder with the enum.typeimports file as additional type converter folder.
When I re-scan for typeimports files there is no logging at all in the Application Output window (verbose enabled)
"View loaded external types" doesn't mention the enums.
Shouldn't the Application Output window at least mention the detection of the .typeimports file?
Please advise.