Long story short, if your adapter inherits from a generic type, AddInStore.Rebuild...() will throw an exception and subsequently swallow it with no warning output. Two problems with this:
1. Why can't your adapter inherit from a generic type when the adapter is itself closed? This is crazy bad, because I can't refactor my adapters the way I want and have way too much code to maintain now.
2. Supposing we really couldn't inherit from a generic type, the exception is being swallowed and no warning ouput.
To try this yourself, just take an existing project that works and change one of the adapters so it inherits from a dummy generic class like this.
public class IAddInContractToViewAddInAdapter :
//DummyClass<int>
Contracts.AddInViews.IAddIn
{
}
public class DummyClass<T>
{
}
If you uncomment the inheritance line the adapter will stop working.
No files are attached