cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with CrystalDecisions namespace

Former Member
0 Kudos
475

I am running VS2010 10.0.40219.1 SP1Rel on Vista Business SP2 fully patched. I installed Crystal Reports for VS2010 13.0.1. Yesterday Visual Studio crashed while I was working on a project containing two crystal reports. Today I have another problem. I cannot create a new project using a crystal report. If I create a simple windows form project, add a dataset and datatable, and then add a Crystal Report, I cannot build the project. I get a series of 25 warnings and errors, but I suspect that they all boil down to a namespace issue. The 'hidden code' for the crystal report shows that these Imports statments are failing.

Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.ReportSource

Imports CrystalDecisions.Shared

The error is "Namespace or type specified in the Imports 'CrystalDecisions.CrystalReports.Engine' doesn't contain any public member or cannot be found' I get the corresponding message for all three. What can I do about this?

Accepted Solutions (1)

Accepted Solutions (1)

former_member208657
Active Contributor
0 Kudos

This is documented in our knowledge base. See the article below.

1547102 - Warnings when compiling an application in Visual Studio 2010 that uses Crystal Reports for Visual Studio 2010 assemblies

Answers (1)

Answers (1)

Former Member
0 Kudos

I believe that the problem was in the targeted framework for the project. For some reason it was targeted to .Net 4.0 client and it must be targeted to .Net full.