I've stumbled into a runtime depency problem when writing CodeFirst forms that have a custom FieldPreValueSourceType.
At first I wrote my forms and SourceTypes within a single VS project but noticed I was getting the following error at runtime (see screenshot).
I'm pretty sure this is because the FPVST has to be loaded BEFORE the CodeFirst form. My only way of solving this was to seperate into them 2 projects and drop them in one at a time and recycling the app pool each time.
This of course isnt particularly good for deployment as it would have to be documented (and nobody reads documentation!).
CodeFirst runtime dependency problem!!
Hi Tim
I've stumbled into a runtime depency problem when writing CodeFirst forms that have a custom FieldPreValueSourceType.
At first I wrote my forms and SourceTypes within a single VS project but noticed I was getting the following error at runtime (see screenshot).
I'm pretty sure this is because the FPVST has to be loaded BEFORE the CodeFirst form. My only way of solving this was to seperate into them 2 projects and drop them in one at a time and recycling the app pool each time.
This of course isnt particularly good for deployment as it would have to be documented (and nobody reads documentation!).
Is there anything you can do to sort this out?
Kind regards
Martin
Comment author was deleted
Sure thing will take a look
Comment author was deleted
Changed the order so first prevalue sources are created and then forms so I would hope that takes care of the issue :)
Part of 3.0.7 WIP http://nightly.umbraco.org/Umbraco%20Contour/3.0.7%20WIP/ (you'll only need to update the codefirst assembly to test)
Hi Tim
Yes that did the trick, your rapid response as always is much appreciated!
Do you have an email address I can get you on?
Thanks
Martin
Comment author was deleted
Yup that's tg at umbraco dot com
is working on a reply...