Dll download

  • Thread starter Thread starter Ole
  • Start date Start date
O

Ole

How do I let VS2005 download (when debugging) a native dll (created in eVC
4) that is used in my project. I make change s to the dll now and then so it
is important that it allways is the newest version of the dll that is
downloaded.

Thanks
Ole
 
In the eVC project, set the output directory for the DLL to be the source
file directory of your Studio project, that way when it gets built, it
replaces the one Studio is using. Once you do that, in Studio set the DLL
build action as "Content" and Studio will push it to the device.
 
The other option is to use a PreBuildEvent for the Studio project (Project
Properties) and create a batch file that copies the DLL from the eVC folder
to the Studio folder before it builds.
 
Back
Top