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

In console vb.net application (The type or namespace name 'Telerik' could not be found)

1 Answer 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
addi
Top achievements
Rank 1
addi asked on 04 Apr 2014, 09:40 PM
Hi,

I am attempting to create a Console Application to schedule the creation of reports programmatically.  I found your example for creating PDF-files that seems easy enough.

I added a reference to Telerik.Reporting.  I also added "using Telerik.Reporting.Processing;".  Visual Studio 2010 intellisense seemed to accept the syntax and I was presented with intellisense "period-alternatives" (and no squiggly red underlines).

However, when I then attempted to build the project, I received the following error-message:
"The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)"

Versions:
Telerik Reporting Q1 2014
Visual Studio 2010 (SP1)
.Net 4.0

Questions:
1. Are there known "issues" using Telerik Reporting with Console Applications?
2. Where else could I possibly reference the Telerik dll?
3.  Since this is a very common need, could you provide sample code for a Console Application?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 07 Apr 2014, 03:15 PM
Hello Addi,

Please verify the project targets .NET Full Profile framework. Also as of Q2 2013, Telerik Reporting is built against .NET4, which requires your project to target .NET4+ framework version. For more details check on our  System Requirements page.

Processing a report in code via ReportProcessor is illustrated in our Exporting Report Programmatically article.

I hope this helps you.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
addi
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or