Assembly drop down empty when configuring DotNet PrefetchList Picker
Hi,
The Assembly dropdown is not showing the AppCode folder as an option. I have created a class which inherits from IDotNetDataSource and placed it in my AppCode folder.
If I create a dll with this code the Assembly dropdown works however I want this to work when placed in App_Code folder.
My class was in a sub folder inside AppCode. The Helper class looks for the class directly below the AppCode folder so wasnt finding it within the sub folder.
Assembly drop down empty when configuring DotNet PrefetchList Picker
Hi,
The Assembly dropdown is not showing the AppCode folder as an option. I have created a class which inherits from IDotNetDataSource and placed it in my AppCode folder.
If I create a dll with this code the Assembly dropdown works however I want this to work when placed in App_Code folder.
Am I missing something to get this to appear?
Cheers,
Marc
Hi Marc,
This should work, can you confirm that your app code folder is "~/App_Code" (from the root with an underscore) ?
Thanks, Hendy
Hi Hendy,
Yes, App_Code folder in usual place, no errors in my class either as I have tested it as a dll and all works fine.
Using Umbraco 7.3.1 although same issue with Umbraco 7.3.0.
I am using the latest version of nuPickers 1.5.2
Cheers,
Marc
Hi Hendy,
Issue solved.
Had a look at the source for this part of nuPickers:
https://github.com/uComponents/nuPickers/blob/master/source/nuPickers/Helper.cs
My class was in a sub folder inside AppCode. The Helper class looks for the class directly below the AppCode folder so wasnt finding it within the sub folder.
Cheers,
Marc
is working on a reply...