title: Deploy custom files to mobile device during build
body: <p>I have an sdf file in my solution and I want it to be copied to an arbitrary place on the mobile device when I deploy. In the build events for the project, the only macro seems to point to the build output in the solution files on my computer, not to the end directory on the mobile device (Output file folder under Deployment options). When I set the property on the sdf file Copy to Output Directory - thats talking about the bin/Debug output directory on my computer where the solution files are - so, the question is, how can I deploy basically arbitrary files to arbitrary places on the mobile device?</p>
  
  <p>This doesnt work as a post build event:</p>
  
  <p>copy $(OutDir)*.sdf %CSIDL_PROGRAM_FILES%\My_app</p>