+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Type cannot be resolved when extending archive control to dynamic items

Type cannot be resolved when extending archive control to dynamic items

3 posts, 0 answered
  1. Patricia
    Patricia avatar
    15 posts
    Registered:
    05 Jun 2015
    22 Jul 2015
    Link to this post

    I wanted to extend the archive to include my dynamic items so I followed the instructions here: http://docs.sitefinity.com/tutorial-extend-the-archive-widget-to-use-dynamic-items. When I register the widget with Visual Studio or even just registering through advanced settings (by putting SitefinityWebApp.Controls.CustomArchiveWidget, SitefinityWebApp in the path box) I get:

     Type "SitefinityWebApp.Controls.CustomArchiveWidget, SitefinityWebApp, Version=8.0.5705.0, Culture=neutral, PublicKeyToken=null" cannot be resolved. Am I doing something wrong & is there a way to fix this?

  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    22 Jul 2015 in reply to Patricia
    Link to this post

    So you have built the project and the SitefinityWebApp.dll has been updated\uploaded to the site?

    I would open JustDecompile and open your SitefinityWebApp.dll and search for your class name, see where it's actually found.  Could there be a type or maybe the namespace isn't really "SitefinityWebApp.Controls"?

    It's a .net error, like it literally can't find that class there...we just need to figureout why.

  3. Patricia
    Patricia avatar
    15 posts
    Registered:
    05 Jun 2015
    22 Jul 2015 in reply to Steve
    Link to this post
    Nope that was the solution -- my SitefinityWebApp.dll wasn't updated/uploaded. Thank you!
3 posts, 0 answered