tmacy
05-01-2009, 11:50 AM
I'm trying to automate making Visual Studio builds. I have two issues:
1) I have selected the Rebuild build behavior. So, Rebuild runs and works fine, and then Build runs, so most projects build twice. How can I prevent the second Build from running?
2) We have components that are registered for COM Interop. The second build on these components fails because they assembly cannot be unregistered. This appears to be a function of the version number changing at the end of the first rebuild. Do I have to turn off the "Register for COM Interop" setting on the projects?
1) I have selected the Rebuild build behavior. So, Rebuild runs and works fine, and then Build runs, so most projects build twice. How can I prevent the second Build from running?
2) We have components that are registered for COM Interop. The second build on these components fails because they assembly cannot be unregistered. This appears to be a function of the version number changing at the end of the first rebuild. Do I have to turn off the "Register for COM Interop" setting on the projects?