Get all projects fron solution throws error

1

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?

c#
visual-studio
envdte
asked on Stack Overflow Apr 11, 2013 by Bin Chen • edited May 23, 2017 by Community

1 Answer

0

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.

answered on Stack Overflow Apr 11, 2013 by Dilshod • edited May 23, 2017 by Community

User contributions licensed under CC BY-SA 3.0