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

Need help avoiding version conflicts

2 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Troy Goddu
Top achievements
Rank 1
Troy Goddu asked on 03 Dec 2010, 08:35 PM
Several examples I downloaded recently into VS2010 produced compile errors due to confilcting versions.  This seems to happen whether or not I update the example code.  I searched for other Telerik libraries but so far have not solved this problem.  I'm sure there is an easy answer.  Anyone?

Sincerely,
Richard

[Typical error text]
The primary reference "Telerik.Windows.Controls.GridView, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework.

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 06 Dec 2010, 01:49 PM
Hi Troy,

 
After some researching I have found the following thread. I believe that it could be useful in your case to avoid such conflicts.

Please let me know how this works for you.

All the best,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Troy Goddu
Top achievements
Rank 1
answered on 08 Dec 2010, 02:20 PM
Thank you, Vanya.  There was a simple solution in that thread, but only posted a few days ago!   I right-clicked on the solution name in the Solution Explorer window (VS2010), then selected Properties.  In properties, I saw that the Target window said NET Framework 3.5.  I selected NET Framework 4 from the dropdown list and a wizard converted my project.  Then I was able to build and run. 

On another project I saw a target of NET 2.0.  I was unable to convert this because the wizard said I was missing certain modules.  It's unfortunate that MS's new releases break old code.  I'm sure others will be seeking this conversion information as Telerik's helpful examples and sample code library gets older

I appreciate the effort that you made, many thanks.
Sincerely,
Richard
Tags
General Discussions
Asked by
Troy Goddu
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Troy Goddu
Top achievements
Rank 1
Share this question
or