on 01-22-2023 5:19 PM
cr-viewer.pngI have tried to add the CR Viewer to a windows page but the control is not displayed in the toolbox. No Reporting tools are available. I have tried to add the tool through the "Choose Items..." option as show in the attachment. This does not add the viewer to the list. I am building a 64 bit application targeting .Net 7.0. Any idea why the Control is not showing
Only need the 32 bit MSI installed at the end of the VS installer so you have both options and so VS doesn't complain.
Um, Framework has nothing to do with the platform.
VS 2022 is a 64 bit IDE and CR runtime is used for your App platform and not the OS.
In the Project Properties set the Project to X64, not AnyCPU.
Simply adding the Viewer to the ToolBox doesn't add it to your project, you have to drag and drop the Viewer from the ToolBox onto your Form.
App.config and your project references should then show Engine, Shared and Viewer, plus any other References you select:
NOTE: Copy Local must be set to false for all CR Assemblies, \bin folder should not have any CR dll's in it:
Samples on my WIKI page are complete and should work:
And see my Blog for upgrading projects:
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A couple of things you need to do.
Install the VS 2022 EXE, and be sure to right click on setup.exe and select Run As Administrator, even if you are a local Admin.
CR runtime doesn't support any framework higher than 4.8.
And this is the file to integrate into VS:
CR for Visual Studio SP33 64b installer (VS 2022 and above)
MSI's are for distribution only, not required to install manually on Dev PC.
At the end of the install it will prompt for 32 bit runtime, it needs to be installed so click OK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.