It needs to make sure that every release generates those files and keep them for later use. The following build environment variables should be set to generate MAP and COD files during build.
set WINCECOD=1Instead of setting build environment variables , the 'sources' file may include the following in it.
set WINCEMAP=1
WINCECOD=1When using Visual Studio, you can set the options on the property pages of application project.
WINCEMAP=1