Deploy a file
-
Dear all, I have a Visual Studio 2008 project for a mobile device. In the project, I have a config.ini file. I want the config file deployed to the program directory (Say: DEVICE \ Program Files \ MyProject directory) in device when I deploy the solution. How to do so? I know there is post-build event that you can fill out, but how to fill out the rest? I need to now the last piece of puzzle as I know the first two: Copy $(TargetDir)\MyProject.exe ???
-
Dear all, I have a Visual Studio 2008 project for a mobile device. In the project, I have a config.ini file. I want the config file deployed to the program directory (Say: DEVICE \ Program Files \ MyProject directory) in device when I deploy the solution. How to do so? I know there is post-build event that you can fill out, but how to fill out the rest? I need to now the last piece of puzzle as I know the first two: Copy $(TargetDir)\MyProject.exe ???
-
If the file is part of your project then you can just set its build properties using the Custom Build Tool link, and set the appropriate copy command in there.
One of these days I'm going to think of a really clever signature.
Richard, I appreciate your input. I do find much similarity between what you write and what I have discovered. If I click on 'Deploy solution', the EXE goes to appropriate place in my device. How do I do the same for the config file?
-
Richard, I appreciate your input. I do find much similarity between what you write and what I have discovered. If I click on 'Deploy solution', the EXE goes to appropriate place in my device. How do I do the same for the config file?
I don't have this option on my version (Express) of VS so I cannot offer any further suggestions. I would have assumed that a selection titled "Deploy solution" would have some way of identifying all components that need to be copied.
One of these days I'm going to think of a really clever signature.