[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.
Re: Adding a files to my publish?
Is the .ini file included in your project?
Justin
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
Re: Adding a files to my publish?
Quote:
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?
Re: Adding a files to my publish?
Nothing.... you simply want the file to be copied.
-tg
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.