Error "AppointmentDeletedEventArgs" Exist in RadScheduler and RadScheduleView, But i didn't using any RadScheduler

2 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    5 posts
    Member since:
    Sep 2015

    Posted 17 Dec 2015 Link to this post

    I'm using my boss old telerik version, i try to make new View Model in my new solution and i got this error :

    SeverityCodeDescriptionProjectFileLineSuppression State
    ErrorCS0433The type 'AppointmentDeletedEventArgs' exists in both 'Telerik.Windows.Controls.ScheduleView, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' and 'Telerik.Windows.Controls.Scheduler, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'

     In my previous work i dont have any problem but suddenly i got this problem. what happen and how can i fix this?


  2. Geri
    Geri avatar
    62 posts

    Posted 18 Dec 2015 Link to this post

    Hello Muhammad,

    The error you encounter is caused by referencing two different assemblies which contain the same namespace and type, and this produces ambiguity. More information on this type of error you can find here:

    The description of the error suggests that Telerik.Windows.Controls.ScheduleView and Telerik.Windows.Controls.Scheduler assemblies are both referenced in your application. Since Q1 2012, RadScheduler is no longer included in our installation, so if you were using a newer version of our controls, you wouldn't encounter such an issue. You can check if somewhere in your project Telerik.Windows.Controls.Scheduler is referenced and remove the reference.
    If this is not the case, please send us a sample project where the error can be observed, so we can offer the best solution for your scenario.

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top