简体   繁体   中英

VS.Net Post Build Event

I have a very simple problem.

My VS.Net output DLL needs to be registered as a COM Callable Wrapper. This is a DLL that takes forever to unregister and register.

Is there any way I can do this unregister and register in the post build event only when I run the application rather than doing it after everytime I compile successfully?

Thanks

Narayanan

Create a second empty project file. Add a Reference to your original project. Put your post-build scripts in the second project file.

Choose the original project to compile without post-build.

Choose the second project to compile with post-build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM