|
-
May 19th, 2010, 09:04 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Adding a files to my publish?
I have a settings.ini file in the root folder of my application. Where in the project settings do I set it so that when i publish the project that this file goes with.
When installed the settings.ini file must sit in the same folder as the .exe file.
-
May 19th, 2010, 09:13 AM
#2
Frenzied Member
Re: Adding a files to my publish?
Is the .ini file included in your project?
Justin
-
May 19th, 2010, 09:15 AM
#3
Re: Adding a files to my publish?
click the file in the solution explorer... press F4 to pull up the properties... set the Build Action to "Copy to Output Folder" ... that should do it.
-tg
-
May 20th, 2010, 02:14 AM
#4
Thread Starter
Addicted Member
Re: Adding a files to my publish?
 Originally Posted by techgnome
click the file in the solution explorer... press F4 to pull up the properties... set the Build Action to "Copy to Output Folder" ... that should do it.
-tg
Ok so in the "Copy to output directory" property is set to "Always Copy".
What should the "Build Action" be set to?
-
May 20th, 2010, 07:23 AM
#5
Re: Adding a files to my publish?
Nothing.... you simply want the file to be copied.
-tg
-
May 20th, 2010, 07:40 AM
#6
Thread Starter
Addicted Member
Re: Adding a files to my publish?
It didn't work like that for some weird reason. I had to set it to "Content".
But Thanks for the help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|