I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you... 5 1485
Are the files in the same folder as the project? Try putting them in a
subfolder under the project, and then publishing them. If you have them
marked as content, with Copy Always, it will put them in subfolder with the
same name in the bin\Release\ folder.
My company is successfully using ClickOnce to deploy its application, and
we include a lot of files this way w/no problem.
The only difference I see is that ours are in a folder under the project
that is the main UI. So you might need to move them over there if the above
doesn't work.
Robin S.
----------------------------------------
"DCDev" <vb***********@yahoo.comwrote in message
news:11**********************@g13g2000hsf.googlegr oups.com...
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you...
That's what I ended up doing. I moved them into the main project.
This may cause some issues down the road because I wanted to use these
reports in two separate projects (that's why I had the reports in
their own project, so it could be used by two other projects). Now,
with this approach, I'll have to duplicate the reports in each of the
"main" projects. I don't understand why you can build an entire
solution but only publish individual projects.
Thank you all for your responses.
On Jul 11, 12:26 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Are the files in the same folder as the project? Try putting them in a
subfolder under the project, and then publishing them. If you have them
marked as content, with Copy Always, it will put them in subfolder with the
same name in the bin\Release\ folder.
My company is successfully using ClickOnce to deploy its application, and
we include a lot of files this way w/no problem.
The only difference I see is that ours are in a folder under the project
that is the main UI. So you might need to move them over there if the above
doesn't work.
Robin S.
----------------------------------------
"DCDev" <vballdutch...@yahoo.comwrote in message
news:11**********************@g13g2000hsf.googlegr oups.com...
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you...
Hi,
I've heard from a few this is a good tool to better understand clickonce. http://www.code-magazine.com/Article...uickid=0611041
best regards,
Robert Dede www.gigasoft.com
"DCDev" <vb***********@yahoo.comwrote in message
news:11*********************@r34g2000hsd.googlegro ups.com...
That's what I ended up doing. I moved them into the main project.
This may cause some issues down the road because I wanted to use these
reports in two separate projects (that's why I had the reports in
their own project, so it could be used by two other projects). Now,
with this approach, I'll have to duplicate the reports in each of the
"main" projects. I don't understand why you can build an entire
solution but only publish individual projects.
Thank you all for your responses.
On Jul 11, 12:26 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
>Are the files in the same folder as the project? Try putting them in a subfolder under the project, and then publishing them. If you have them marked as content, with Copy Always, it will put them in subfolder with the same name in the bin\Release\ folder.
My company is successfully using ClickOnce to deploy its application, and we include a lot of files this way w/no problem.
The only difference I see is that ours are in a folder under the project that is the main UI. So you might need to move them over there if the above doesn't work.
Robin S. ----------------------------------------
"DCDev" <vballdutch...@yahoo.comwrote in message
news:11**********************@g13g2000hsf.googleg roups.com...
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you...
Wow. I did a search on "ClickOnce" and the first article that came up (this
one) is the one that applies to me.
In my case, I have Reports Project that uses Crystal Reports which are not
getting included in the installation.
I'm praying there is a better solution out there than the ones suggested. I
don't want to retool the app by putting them in a resource file...nor would I
want to duplicate the reports in the projects just so the ClickOnce will
include them.
Can someone please enlighten me on a better way to include important files
from dependent projects?
"DCDev" wrote:
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you...
YOu could also include them as Data files, which there's a special folders
path to get to -- it copies them to the DataDirectory each time you install
it. And if the data files don't change, when the user picks up incremental
updates, it will copy the old files forward to the new version. If the
files DO change, it makes the old ones available (I think it copies them
forward into a .\pre folder or something like that -- let me know if you
really want to know, and I'll look it up) and you can programmatically
access the old versions if you need to. This is how you could deploy
SQLServer CE database, for example. You would have migration code that is
run when the application updates its version that copies data from the old
database to the new one.
There is an excellent book on ClickOnce by Brian Noyes. It helped me
immensely -- it covers everything from including files to security to
certificates to including prerequisites with the Bootstrapper. Very
helpful.
Robin S.
--------------------------
"DCDev" <vb***********@yahoo.comwrote in message
news:11*********************@r34g2000hsd.googlegro ups.com...
That's what I ended up doing. I moved them into the main project.
This may cause some issues down the road because I wanted to use these
reports in two separate projects (that's why I had the reports in
their own project, so it could be used by two other projects). Now,
with this approach, I'll have to duplicate the reports in each of the
"main" projects. I don't understand why you can build an entire
solution but only publish individual projects.
Thank you all for your responses.
On Jul 11, 12:26 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
>Are the files in the same folder as the project? Try putting them in a subfolder under the project, and then publishing them. If you have them marked as content, with Copy Always, it will put them in subfolder with the same name in the bin\Release\ folder.
My company is successfully using ClickOnce to deploy its application, and we include a lot of files this way w/no problem.
The only difference I see is that ours are in a folder under the project that is the main UI. So you might need to move them over there if the above doesn't work.
Robin S. ----------------------------------------
"DCDev" <vballdutch...@yahoo.comwrote in message
news:11**********************@g13g2000hsf.googleg roups.com...
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option.
When I build the solution, these files are copied to the bin\Release
directory, as they should be. However, when I publish the Windows
Forms project, these content files are not copied. How can I make it
so that these content files from the one project are published along
with the windows forms project.
They are not listed in the "Applications Files" section of the
publish settings.
Thank you...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bill Nguyen |
last post by:
I ran into this error trying to run an app from Publish.htm.
I can't find what is wrong with the deployment.
Thanks a million
Bill
--------
PLATFORM VERSION INFO
|
by: Andrew86 |
last post by:
I have an application which requires a number of DLLs (unmanaged ansi C dlls)
to reside in the same directory as the application. I currently have these
dlls included in the project folder and...
|
by: Ronald S. Cook |
last post by:
I have a Win app that references a class library project. Within the
latter, there is a remoting.config file.
When I publish my app using ClickOnce, it errors telling me it can't find
the...
|
by: Marc Gravell |
last post by:
Repost from dotnet.general (no response), and OT but I hoped somebody
might have a clue...
I have a handful of ClickOnce installs that work fine almost
everywhere... however, on some machines...
|
by: DCDev |
last post by:
I have a solution with multiple projects. One project is a
windows forms project. I have report files (.rdlc) in a separate
project that are built as "Content" with the "Copy Always" option....
|
by: Peter Wyss |
last post by:
Hello!
I've a few questions about ClickOnce in VisualStudio 2005. The
installation of my application works fine, I published the files on a
webserver and installed the app on a winxp client,...
|
by: schneider |
last post by:
Hello,
I found a case where a corporate server caches all internet traffic, due to
this my ClickOnce app never updateds because on the corporate network
I/users keep getting the cache files?...
|
by: Jack |
last post by:
Hi there,
Apologies if this NG is off-topic but I can't find anything more appropriate
(feel free to let me know). I'm looking at ClickOnce as a possible
alternative to MSI and have poured...
|
by: Dean Slindee |
last post by:
Using VS2005, I am deploying a WinForm application with ClickOnce. The
project contains a ReportViewer2005 control, so there is a prerequisite for
the ReportViewer2005.dll.
The ReportViewer.dll...
|
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= |
last post by:
Hi,
how can I add files (e.g. ini-files, xml-files, pdf,..), that should be
installed with a ClickOnce deployed applications?
Christian
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |