Serenity: Can't find enum type!

Created on 7 Nov 2016  路  5Comments  路  Source: serenity-is/Serenity

Thank you for this fantastic template.

I'have defined a enum but can't find at client side. I have tried all possible solution suggested on this forum.

I'm using visual studio 2015 update 2. Serene version 2.5.8.0

TS file is also created after "transfer All T4 tempaltes" but still cant find enum.

Can some one please help.

Thanks.

Most helpful comment

All 5 comments

Check that the namespace is set correctly for the enum, then go ahead and rebuild followed by transform. At times, it's just that the namespace is misspelled or such.

Thanks.

It was a name space issue. By applying correct name space and enum key fixed issue.

I am getting the same error! Not able to figure out what's going on. Trying to use the enum type for the combo box dropdown list on a report criteria screen that uses the Serenity report template.

Followed the same procedure as in the tutorial to create the .cs file where I define the enums. However, I am using their report template and not sure what else I have to do to make it work with the template. I transformed ALL T4 templates and rebuilt the project as well. No luck.

Would appreciate any clue on this!

Thanks.

I'm not sure about report template as I used only for form dialog type script and on forms.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StefanTheiner picture StefanTheiner  路  3Comments

ahsansolution picture ahsansolution  路  3Comments

newyearsoft picture newyearsoft  路  3Comments

AmuthaKondusamy picture AmuthaKondusamy  路  3Comments

stixoffire picture stixoffire  路  3Comments