on 01-10-2013 5:40 PM
I have written an WinForms app in Visual Studio 2010 and embedded the Crystal Reports 2008 viewer. Everything works fine, but the viewer requires .Net Framework 4+. My target deployment group is on .Net Framework 3.5sp1, and are unable to upgrade to 4. When I change the .Net Framework in Visual Studio, I get multiple errors stating that the "CrystalDecisions.CrystalReports.Engine, version=12.0.2000.0 could not be resolved" because "The version found in the current target framework is 10.5.3700.0."
I have the full Crystal Reports 2008 package installed on my development computer. Is there a version of the 2008 engine for .Net Framework 3.5, or is there a way I can install version 10.5.3700.0 of the engine (maybe just copy the file to my computer and reference it in my project)?
Thanks,
Jack
CR 2008 is not supported in VS 2010 and does not integrate into VS 2008.
Look on the Overview tab for downloads for CR for VS 2010.
Don
PS - PLEASE search, this has question has been asked and answered 1000's of time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don,
I guess I didn't phrase my issue clearly. I did search and there were no questions/answers similar to mine. I don't think there is any issue between VS 2010 & CR 2008.
When I set the targeted .Net Framework version to 4, "Import CrystalDecisions.CrystalReports.Engine" automatically adds a reference to version=12.0.2000.0.
When I set the targeted .Net Framework version to 3.5, the same import statement changes the reference to version 10.5.3700.0.
I then get an error that the public token in the Engine is for version 12.0.2000.0, but the token found in the framework is for version 10.5.3700.00.
Since all I did was change the .Net Framework version, I am interpreting this to mean that the CR2008 viewer is supported by the .Net Framework 4, but not 3.5.
I also assumed that an earlier version of the CR Viewer could be used, but I can't get CR XI to install. It fails to register components and will not complete the installation.
Is there any CR Version viewer that can be used with .Net Framework 3.5? If so, can I install it on my development computer along side CR 2008?
Thank you,
Jack
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.