on 2011 Jun 25 12:07 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.