I am in debugging, I got the reference to current solution as DTE2. (as from "adabyron")
I often got the following error when I tried foreach loop on vsSolution.Projects:
The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))
Click continue, I can still loop through all projects. Any reason for me getting the error?
I am not sure why it throws exception, but you can avoid it with try catch
. It doesn't fail all the time. When fails you can retry it again and it works. Here is similar problem on my other post.
User contributions licensed under CC BY-SA 3.0