Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Marc Love (uSkinned.net) 431 posts 1669 karma points
    Nov 02, 2015 @ 12:42
    Marc Love (uSkinned.net)
    0

    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

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Nov 02, 2015 @ 13:04
    Hendy Racher
    0

    Hi Marc,

    This should work, can you confirm that your app code folder is "~/App_Code" (from the root with an underscore) ?

    Thanks, Hendy

  • Marc Love (uSkinned.net) 431 posts 1669 karma points
    Nov 02, 2015 @ 13:13
    Marc Love (uSkinned.net)
    0

    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

  • Marc Love (uSkinned.net) 431 posts 1669 karma points
    Nov 02, 2015 @ 13:21
    Marc Love (uSkinned.net)
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft