Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce and crystal reports files
 

ClickOnce and crystal reports files

Hi.

I am trying to use Clickonce to deploy my project which contains a lot of report files (*.rpt) created with crystal reports.

Now I want to deploy these report files along with the project , I have added these files to the project & set the Build Action to Content.

When I try to set the publish status of these files to either Include or Data File , these files keeps dowloading each time a new update of the project is released even if the report files are not changed!!

Is there a way to download only the changed report files between updates!

Mhd Adel Khayata  Wednesday, August 29, 2007 8:07 PM

Hi Khayata,

ClickOnce uses file patching technique to avoid redundant downloading of application files. It compares the hash signatures of file to decide whether to download this file. The reason why your client download all files is you use Visual Studio to compile your application, it will generate new hash signatures for all files in your project. Try to compile it manually in Visual Studio 2005 Command Prompt, something like the following:

Code Snippet
csc /target:exe …�
vbc /target:library …�/font>

For more information, check this following article.
http://msdn2.microsoft.com/en-us/library/ms404267.aspx

Hope this helps.
Best regards.

Rong-Chun Zhang  Thursday, September 06, 2007 12:49 PM

Hi Khayata,

ClickOnce uses file patching technique to avoid redundant downloading of application files. It compares the hash signatures of file to decide whether to download this file. The reason why your client download all files is you use Visual Studio to compile your application, it will generate new hash signatures for all files in your project. Try to compile it manually in Visual Studio 2005 Command Prompt, something like the following:

Code Snippet
csc /target:exe …�
vbc /target:library …�/font>

For more information, check this following article.
http://msdn2.microsoft.com/en-us/library/ms404267.aspx

Hope this helps.
Best regards.

Rong-Chun Zhang  Thursday, September 06, 2007 12:49 PM

You can use google to search for other answers

Custom Search

More Threads

• Configuring .NET Applications to Run
• Installation process restarts after installation is complete
• Must uninstall previous version when publishing Office Add-Ins
• Setup project for Windows Service not working!
• STDOLE. GAC problem. Is there a working fix yet?
• Click Once Deployment options - Help Needed
• Click Once Update Issue for just one developer
• Using PermCalc
• How do i install custom database while installing my application?
• Installer for ActiveX into IE 7.0