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 "Applicatio ns Files" section of the
publish settings.
Thank you... 5 6538
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.goo glegroups.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 "Applicatio ns 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.goo glegroups.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 "Applicatio ns 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******** *************@r 34g2000hsd.goog legroups.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.go oglegroups.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 "Applicatio ns 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 "Applicatio ns 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 programmaticall y
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******** *************@r 34g2000hsd.goog legroups.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.go oglegroups.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 "Applicatio ns 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: Brian Henry |
last post by:
Hi,
If you have files in your project (like text files and bmp files stuff like
that, and config files) and want to have it copied to the bin folder at
build (i thought setting the build action to content did this but it
doesnt?) how can i get them to copy at each build? thanks
|
by: Samuel R. Neff |
last post by:
Is there a way to copy content files to the build directory in vb.net?
In C# you can use build-events but I don't see them anywhere in a VB
project.
Thanks,
Sam
B-Line is now hiring one Washington D.C. area VB.NET
developer for WinForms + WebServices position.
|
by: thehercman |
last post by:
I am using forms authentication to protect all content as described in the
kb article below.
http://support.microsoft.com/default.aspx?scid=kb;en-us;893662
This works fine except for files that are larger than about 40 or 50mb at
which point the user gets a 404 error and the httperr log indicates
connection_dropped status.
This is a w2k3 server with SP1 and all security patches installed.
|
by: AMDRIT |
last post by:
I am looking to implement ClickOnce deployment for a project. Everything
seems fine, except for resorces that are added as content files. How do I
get these file in the manifest? Mage doesn't seem to allow me to add these
files.
Thanks
|
by: ESmith |
last post by:
I'm trying to use ClickOnce to deploy an application in "online-only" mode.
The problem I have is that I have a component that requires a .LIC file -
I've included this file in the project and marked it as "include" in the
publish section, but whenever the application is "downloaded", the
application throws an exception because the license file isn't found.
However, if I change the deployment to allow the program to run in offline
mode,...
| |
by: Irfan |
last post by:
hi,
When i create clickOnce deployment, i want to add MS Access files to do it.
Is their anyway i can do it?
thanks
Irfan
|
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 it simply does nothing! These
are regular VS2005 ClickOnce "publish" deployments, signed with a
valid certificate.
The client correctly detects the MIME, prompts the user, downloads the
|
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.
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...
|
by: Frank |
last post by:
Hi,
Originally I was planning to do some code reuse (yeah.. that
exists..didn't want to believe it either) with some class library
projects that I now want to use in a asp.net 2.0 web app in VS 2005.
The solution contains both the web app and the class libraries. Inside
the class libraries there are some xml files marked as content files
and configured to be copied to the output directory on build. This
worked perfectly fine for a...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |