I'm trying to create a macro that will perform a Clean Solution ad then a Rebuild Solution.
When recording a macro doing so it creates:
Public Module RecordingModule
When I run this, I get the following error (after cleaning the solution)
An exception of type 'System.Runtime.InteropServices.COMException' occurred in VBAssembly but was not handled in user code
Additional information: Et kald til en COM-komponent returnerede fejlen HRESULT E_FAIL.
I tried inserting a Threading.Thread.Sleep() but that didn't help.
Any suggestions ?