AddInStore.Update hangs..

Nov 12, 2008 at 3:12 PM
Hi,
My addins are inside the pipeline directory structure.
My code hangs when i say 
string path = Environment.CurrentDirectory;
string[] s = AddInStore.Update(path);

But It's working fine when i say,
string path = Environment.CurrentDirectory;
string[] s = AddInStore.RebuildAddIns(path); or string[] s = AddInStore.UpdateAddIns(path); 

Any specific reasons ? :(
Nov 18, 2008 at 11:30 PM
Hi Bhupesh,

The intent of RebuildAddIns/UpdateAddIns is to look for add-in assemblies only (it doesn't look for any of the pipeline components). This is useful if you want to have add-ins stored in a separate location from the pipeline components. 

Are you seeing a hang when calling it, or an unhandled exception? Can you provide details and a repro?

Thanks,

-Mueez
Nov 19, 2008 at 5:01 AM
I ams seeing a hang when i say

string path = Environment.CurrentDirectory;
string[] s = AddInStore.Update(path);

This is happening only in one machine.
The same code works fine in other machines.


Thanks,
Bhupesh.
Nov 19, 2008 at 7:41 PM
Hi,

Can you provide a stack trace of the hang?

Thanks,

-Mueez