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

The referenced assembly could not be resolved because it has a dependency ...

2 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 12 Mar 2012, 05:21 PM
Hello,

I get this warning since I have updated from Q3 2011 to Q1 2012.
Now everything works but how can I get rid of this warning ?

Warning    3    The referenced assembly "Telerik.WinControls.UI.Design, Version=2012.1.301.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.



Thank you.

2 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 13 Mar 2012, 11:08 AM
Hello,

It sounds as though you are building your project with .NET Framework 4.0 Client Profile. The system requirement in this case is for a dependancy on an assembly which is not found in the Client Profile and so it is asking you to re-target your project to the .NET Framework 4.0 Full Profile.

You can change this in the Advanced Compile Options of the Compile tab of the Project properties. You may need to manually add the assembly that is missing once you have changed the target to full profile.
Hope that helps
Richard
0
Jack
Telerik team
answered on 15 Mar 2012, 10:16 AM
Hello Thomas,

Richard's suggestion is correct. Just to mention that you do not need to reference the Telerik.WinControls.UI.Design assembly in your application. This assembly contains control designers and it is not required when running the application. All other Telerik assemblies are .Net 4.0 client profile compliant and by excluding this assembly from your project you can still target .Net 4.0 client profile.
 
Kind regards,
Jack
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
General Discussions
Asked by
Thomas
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Jack
Telerik team
Share this question
or