I have a MAF project which has been manually built under VS2010 .Net 4 (fully updated).
If I rebuild all of the required MAF assemblies (HostViews, AddInViews, Contracts and adapter) and all of the AddIns then MAF will successfully find all of the Addins which are stored in the default AddIn folder of the PipelineStore.
However, If I try to include an AddIn which has been build against an older version of the AddInViews assembly (For instance compiled against version (Assembly and File) 220.127.116.11 but the currently loaded version is 18.104.22.168, then calling AddInStore.FindAdd()
does not include the AddIn compiled against an older version. All addins compiled against the current version are returned.
I've tried calling AddInStore.Rebuild and AddInStore.Update but there is still no luck. Calling these methods does not return any warnings (nor do I get any exceptions)
Using the debugger to look at the AddInStore details I can see that the AddIn I'm trying to find is located in the AddInStore addinState information but still it doesn't get returned when trying to find it.
I can rebuild the Addin that is not currently being found but my major concern is that once we release our product for 3rd parties to create plugins then we will not be able to issue newer version our project without have to get all Addins rebuilt.
Is there a setting I'm missing which allows MAF to ignore version information? Or is there something else I'm missing?
Thanks for you help.