This is a migrated thread and some comments may be shown as answers.

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

1 Answer 48 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 17 Dec 2015, 06:49 AM

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?

 

1 Answer, 1 is accepted

Sort by
0
Geri
Telerik team
answered on 18 Dec 2015, 09:22 AM
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:

https://msdn.microsoft.com/en-us/library/64wh5743.aspx

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.

Regards,
Geri
Telerik
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
Tags
ScheduleView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Geri
Telerik team
Share this question
or