How to create PostBuild Event?

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
 
N

Neville Lang

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top