Cannot find the 'Resource' type but exists in both!?

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    34 posts
    Member since:
    Oct 2011

    Posted 30 Jan 2012 Link to this post

    using System.Windows.Media;
    using Telerik.Windows.Controls;
    namespace DragDrop
        public class OperativeResource : Resource
    Visual Studio is telling me that 'Resource' exists in both
    Scheduler.dll and ScheduleView.dll but when I attempt to
    inherit from Resource using a fully qualified name...
    namespace DragDrop
        public class OperativeResource :
    } says Resource does not exist?? As you can guess I'm trying to define a class that can be used in the header of the ScheduleView and it's very important I can do this so any help is seriously appreciated. Thanks, Dan
  2. Yana
    Yana avatar
    4603 posts

    Posted 31 Jan 2012 Link to this post

    Hello Daniel,

    The Resource class is placed in Telerik.Windows.Controls namespace in the Telerik.Windows.Controls.ScheduleView.dll.

    It is not recommended to have referenced both Scheduler and ScheduleView assemblies in the same project, please remove the Scheduler dll in order to fix the issue.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top