The files are not linked to my EXE project. The files are associated with
libraries that are linked into my overall project build. I noticed that data
files linked directly to the EXE project are brought over as data files, but
files associated with libraries are not. I'm thinking I need to redesign my
program to either put the files into resources or have them reference in the
main EXE project. What do you think?

Signature
-----------
Thanks,
Steve
> Hi Steve,
>
[quoted text clipped - 9 lines]
> Can you see them in the "Application Files" dialog that appears if you click
> the Project Settings/Publish/"Application Files ..." button?
james - 11 Jun 2006 17:54 GMT
> The files are not linked to my EXE project. The files are associated with
> libraries that are linked into my overall project build. I noticed that
[quoted text clipped - 6 lines]
> the
> main EXE project. What do you think?
I usually add Data files ( like an Access database for example) to a folder
in my project and on startup of my application I use Application.StartupPath
or :
(be sure to include System.Reflection at the top of the Class where this is
used)
Path.GetDirectoryName([Assembly].GetExecutingAssembly().Location)
to direct my program to the database. That way, when I used ClickOnce
Deployment, the folder and the database will be included in the
installation.
james
Linda Liu [MSFT] - 12 Jun 2006 03:04 GMT
Hi Steve,
Thank you for posting.
Yes, I think you should add the XML, TXT and custom data files to your EXE
project in order to publish these files along with your DLLs and EXE file
via ClickOnce.
Sincerely,
Linda Liu
Microsoft Online Community Support
====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================