We\'re developing a C# application that references a few COM libraries (AutoIT for example).
I am including all referenced components under source control, in a 3rd
I'm not sure, if there's any task in MSBuild, to call regsvr32, but REgisterAssembly is calling regasm.exe - that is - registering .NET components for COM interop.
I am sure, that just calling regsvr32 manually would be the fastest way to achieve the desired result.
Another thing is - what will happen if the COM DLLs are already registered by the previous build and you'll run your build script again? (I don't really know how the regsvr32 will react, just a thought here)