How to create PostBuild Event?

  • Thread starter Thread starter troy anderson
  • Start date Start date
T

troy anderson

I am trying to figure out how to setup my Mobile C# library project to copy
the .dll to a specified directory. When I develop similar project types for
my desktop libraries and apps there is a "Build Event" option in the project
Properties. However, my Mobile project does not display a "Build Events"
option in the project Properties. Is this option in a different location in
VS2003 dev. env? What are some alternatives?

Thanks
 
Troy,

Smart Device Apps projects for the Compact Framework do not have the Build
Events property whereas the full .NET Framework does. What I did for my
Pocket PC project was to create a dummy class library project, which
actually does nothing, link it in the Build Order and use the post-build
events on that dummy project.

In my case, I needed a way of modifying the Windows Installer MSI file that
VS .NET 2003 creates for my Pocket PC app and so run a script file from that
post-build to change some things in the resulting MSI file.

Regards,
Neville Lang
 
Back
Top