oneClick deployment - how to publish additional files with app?

G

Guest

Hello,

I have been using OneClick deployment to deploy apps at my workplace. Works
great! But now I have to deploy additional files with the app, like chms,
rtfs. How do I publish the additional files? Do I add them to the project?

I have a RichTextBox that will read the rtf's.

RichTextBox1.LoadFile(Application.StartUpPath & "\myTest.rtf")

How can I publish "myText.rtf" along with my app so that the above code will
run correctly?

Thanks,
Rich
 
G

Guest

I see an Appliccation files button in the Project Properties window. I am
guessing that I need to at my chm's or rtf's to that group. Anyone know how
to add additional files to the Application Files List?

Thanks,
Rich
 
G

Guest

I figured this out and posting for posterity:

Here are the steps to add additional files to the application files for
deployment

1) add the rtf, chm files to the project (the main project)
2) in the properties of the file(s) added go to the build action and select
Content
3) for Copy To Output Directory select Copy Always

Then compile

Now the file(s) has/have been added to the Application files list and will
deploy with the application using OneClick Deployment.

Rich
 
G

Guest

I figure out how to add additional files to the application files list for
deployment.

1) add the file (rtf, chm...) to the project
2) In the Build Action in the property sheet for the added file select
content
3) In the Copy to Output Directory option in the property sheet for the
added file select copy always.

Then compile. Now the file is added to the list of application files for
deployment (in addition to being added to the project for usage).

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top