ClickOnce for PDF and OCR
ClickOnce for PDF and OCR
When loading gdpicture.net app via clickonce, it is looking for:
GDPicture.Net.ocr.tesseract.dll
GDPicture.Net.pdf.gdpdfplug.dll
Copying these into the bin\release folders works fine for local install, but how do you do it with clickonce? I read the other articles and MSDN posts you had elsewhere (under search term for clickonce) but when you try to add these two .dll's as a reference it says that they are not a valid assembly or COM component.
Also, where is the best place to put the dictionary files for click-once deployment. I can use system.io.directory.getcurrentdirectory() to reference the subfolder. Does this work?
GDPicture.Net.ocr.tesseract.dll
GDPicture.Net.pdf.gdpdfplug.dll
Copying these into the bin\release folders works fine for local install, but how do you do it with clickonce? I read the other articles and MSDN posts you had elsewhere (under search term for clickonce) but when you try to add these two .dll's as a reference it says that they are not a valid assembly or COM component.
Also, where is the best place to put the dictionary files for click-once deployment. I can use system.io.directory.getcurrentdirectory() to reference the subfolder. Does this work?
Re: ClickOnce for PDF and OCR
Hi,
Easy: Just add required files as "Existing Item" in your project: Right click on your project on the Solution explorer / Add / Existing Item... / Brows the the needed dll.
Then, you will be able to include the files through ClickOnce.
Hope this helps !
Loïc
Easy: Just add required files as "Existing Item" in your project: Right click on your project on the Solution explorer / Add / Existing Item... / Brows the the needed dll.
Then, you will be able to include the files through ClickOnce.
Hope this helps !
Loïc
Re: ClickOnce for PDF and OCR
Thanks for prompt response. That worked for the DLL's but not for the dictionary files. But I got it to work.
For anyone in the future, to include those you have to select them in the solution explorer (as a group), choose properties, then change the build option to content and choose when you want it copied to output.
I would also like to contribute these links that helped me sucessfully deploy gdpicture.net app as clickonce tht works on Win/7-64-bit using vb.net express.
To target the app, you don't really have to edit the .proj file. You can add the "Configuration Manager" to the build menu and that allows you to set the target under "Active Solution Platform". However, this then sets your build target as "release" rather than "debug", so the debug.print no longer writes to the immediate window -- resolved by just changing back to "debug" while you are developing and then "release" before you publish as ClickOnce. Works well, but not easy to find all this information in one place.
http://www.experts-exchange.com/Program ... 85649.html
http://www.vbforums.com/showthread.php?t=601696
http://social.msdn.microsoft.com/Forums ... bbd9ba6d3a
For anyone in the future, to include those you have to select them in the solution explorer (as a group), choose properties, then change the build option to content and choose when you want it copied to output.
I would also like to contribute these links that helped me sucessfully deploy gdpicture.net app as clickonce tht works on Win/7-64-bit using vb.net express.
To target the app, you don't really have to edit the .proj file. You can add the "Configuration Manager" to the build menu and that allows you to set the target under "Active Solution Platform". However, this then sets your build target as "release" rather than "debug", so the debug.print no longer writes to the immediate window -- resolved by just changing back to "debug" while you are developing and then "release" before you publish as ClickOnce. Works well, but not easy to find all this information in one place.
http://www.experts-exchange.com/Program ... 85649.html
http://www.vbforums.com/showthread.php?t=601696
http://social.msdn.microsoft.com/Forums ... bbd9ba6d3a
Re: ClickOnce for PDF and OCR
Thank you very much for the contribution Peter
Who is online
Users browsing this forum: No registered users and 2 guests