Re: Copy file to debug folder



In my project i have a text file that is required by my application. I
have included it in the project, but the file is not copied to the debug
folder in the solution when i build.

I have set the "deployable content" for the file, but still it is not
copied to the output directory during the build.


In C#, setting this flag copies the file during build.

How do i do this in an MFC project?


Dont know what C# IDE does, but in a unmanaged MFC project, you should
copy it yourself in the post build event. In VS2005, I cant even find
this option in a C++(MFC)project.


---
Ajay

.



Relevant Pages

  • Re: Compiling the Public Folder in WM6.1
    ... your sources file or copy the compiled dll/pdb/rel from the debug folder ... sources file. ... I just want to put some debug macros in one of the PUBLIC folder so ... The time stamp of the lib says it is going into the retail directory. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Files on network folder unvisible
    ... I did a debug build and after turning on the debug zones for redir.dll I ... >> Hi Paul ... >> The parent folder has Archive turned off. ... >> Michael Reim ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Different dll names for debug and release
    ... When VS builds your project it clears the output folder. ... | then use separate folders for Debug & Release builds. ... | AssemblyVersionAttribute is the same). ... | project properties via the projects property pages... ...
    (microsoft.public.vsnet.general)
  • Re: Setting up the Debugger.
    ... You shouldn't have to worry about the contents of either the obj or bin ... folders if you want to debug. ... you build with the "Debug" solution configuration, and the Release folder is ... set your solution configuration to "Debug". ...
    (microsoft.public.dotnet.languages.csharp)
  • Precompiled header error message
    ... I am trying to use precomiled header in my old MFC project. ... When I enter to the Main folder Setting: "Use precompiled header ...
    (microsoft.public.vc.language)