Click once requires system to be updated to Crystal...ReportSource Version 10.2.3600.0

Should the click once publisher or the build project have built these references and included them in the build?
[118 byte] By [PhillipPutzback] at [2008-3-7]
# 1
I'm not quite sure what you are asking. If this doesn't answer your question, please help clarify your question.

If you are building an application that uses Crystal Reports assemblies, then you need to make sure they are included in your deployment. There is no mechanism in Visual Studio to auto-select dependencies (except in a few specific cases).

As a result, you need to add the redistributable package to your deployment. To do so:

1. Open the project properties, and click the Publish tab
2. Click the Prerequisites button
3. Select the Crystal Reports item in th e list.
4. Re-publish the application.

This will get the bootstrapper configured to redistribute and install the Crystal Reports runtime.

The reason I think you got the error above is that you did not include the package in your bootstrapper, so they weren't installed. The ClickOnce application manifest included the Crystal Reports components in the manifests as required pre-requisites. Since they weren't detected on the machine, the ClickOnce runtime showed the error. ClickOnce doesn't have any way to trigger the install of these pre-requisites, so the bootstrapper is used to do it first.

DavidGuyerMS at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
I have the Crystal engine, reportsource, shared, forms and keycode lib all selected as prereqs. This was done automatically. And I get the error. Are there any other references that should be checked. They are also marked to be downloaded from the vendors website. The publish completes and the install completes. I would think I would get an error during the install if it failed to download the prereqs.
PhillipPutzback at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
Is the Crystal Reports Prerequisites package selected, and does the bootstrapper indicate it is being installed?

One possible workaround would be to mark the files as Excluded, instead of as Prerequisites. This will turn off the ClickOnce runtime prerequisite check, and should not throw the error.

However, if you that, and the Crystal Reports components are not being downloaded and installed, then you'll get a runtime exception when your app loads, or attempts to use the Crystal Reports components.

DavidGuyerMS at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic IDE...