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

Telerik.Reporting.dll not referenced after build

1 Answer 672 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark McPherson
Top achievements
Rank 1
Mark McPherson asked on 18 Feb 2012, 03:21 PM
I have just installed the 2012 Q1 release.
If I create a new project and add a Telerik report,
the Telerik.Reporting and Telerik.Reporting.Design dlls
are added to the project's references.
The designer throws an error that the Telerik.Reporting.Report class is not found.
The Telerik,Reporting assembly is not visible in the object browser.
Afte closing VS and reloading the project, the Telerik.Reporting dll is visible
in the object browser until I either build the project or open the report designer wizard.

I'm using VS2010 SP1 on windows 7 professional 64bit.
Has anyone else run into this issue?
Corrective action?
Thanks,
Mark

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 20 Feb 2012, 05:17 PM
Hello,

By default, Visual Studio creates a new project with value ".NET Framework Client Profile" for Target framework. If you are targeting the ".NET Framework Client Profile", you cannot reference an assembly that is not in the ".NET Framework Client Profile". Instead you must target the ".NET Framework". More about .NET Client Profile you can read in this MSDN article.
If your target framework is ".NET Framework Client Profile", you can go to project properties, choose "Application" tab and change target network combo box value from ".NET Client profile" to ".NET Framework". Save the settings and build the application.

If the above is not your issue, please prepare and send us a simple runnable report demonstrating the behavior you described below so that we may help you further.

Should you have any further questions, do not hesitate to ask.

Greetings,
Hristo
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
General Discussions
Asked by
Mark McPherson
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or