Questions tagged [system.addin]
38 questions
168
votes
7 answers
Choosing between MEF and MAF (System.AddIn)
The Managed Extensibility Framework (MEF) and Managed AddIn Framework (MAF, aka System.AddIn) seem to accomplish very similar tasks. According to this Stack Overflow question, Is MEF a replacement for System.Addin?, you can even use both at the same…

dthrasher
- 40,656
- 34
- 113
- 139
7
votes
2 answers
Dispose of AddIns created using MAF (System.AddIn)
Does anyone know how to dispose of AddIns created using System.AddIn. All the examples online seem to show how to easily load and use an addin, but none show how to dispose of them once they're alive. My Problem is I create addins in new processes,…

Anish Patel
- 705
- 3
- 8
- 19
6
votes
1 answer
System.AddIn, AddInStore.Rebuild causes UnauthorizedAccessException
my application is loading addins dynamically and when i add
a new module i need to Rebuild the Pipeline segments cache,
but the app doesn't have write permissions in the program folder
and causes a UnauthorizedAccessException.
i don't want to copy…

scorpion456
- 61
- 1
5
votes
1 answer
Achieving application reliability with System.AddIn and process isolation
I've been reading a lot about System.AddIn (a.k.a. Managed Add-in Framework). It lets you activate add-ins in different isolation modes, including separate AppDomains or separate processes.
Most of the articles I've found hint at the fact that…

RationalGeek
- 9,425
- 11
- 62
- 90
4
votes
2 answers
Can AddIns in MAF (System.AddIn) have constructor parameters?
I need to pass configuration settings to an AddIn created using the Managed AddIn Framework (MAF, aka System.AddIn). Can a put a settings parameter in the AddIn's constructor?
Another option would be to create an Initialize() method, but then I have…

dthrasher
- 40,656
- 34
- 113
- 139
4
votes
2 answers
What are the issues with running WPF across multiple AppDomains on one UI thread?
We are looking at creating a WPF UI that runs across multiple AppDomains. One of the app domains would run the application while the remaining AppDomains would host a series of user controls and logic. The idea, of course, is to sandbox these User…

Szymon Rozga
- 17,971
- 7
- 53
- 66
4
votes
1 answer
"Invalid Window Handle" on exiting of WPF application that uses System.AddIn
I am working on a WPF application that is using System.AddIn to solve a memory leak issue we were having with a Windows Forms based control that was wrapped in a WindowsFormsHost control. The add-in is used to load and unload the Windows Forms based…
user249374
3
votes
1 answer
System.AddIn in WCF
I have a question about use AddIn framework, provided by .NET Framework (currently use 3.5 SP1) implemented in System.AddIn namespace. I build a prototype with simple AddIn. This AddIn is instantiated in business logic of WCF Service.…

Anton Kalcik
- 2,107
- 1
- 25
- 43
2
votes
2 answers
Problems detecting plugins made with System.Addin
I am using System.Addin to create plugins for a small portion of my application. I have two different plugins at the moment, and they are both detected and initialized correctly. I can even copy & paste the plugin folders that are created and I…

Orestes72
- 105
- 1
- 1
- 7
2
votes
5 answers
System.Addin & ClickOnce
I have a annoying build process from using System.Addins API with ClickOnce. Using System.Addins requires a specific directory structure, and the main project does not reference the adapters, view, and contract directly, which doesn't work well with…

Metenas
- 21
- 3
2
votes
1 answer
How do I use automapper with System.AddIn?
In the System.AddIn (aka MAF) pipeline adapters, there is a lot of manual copying of values from one DTO type to another - from HostView types to Pipeline Contract types and from Pipeline Contract types to AddIn view types (and back again). This…

Peter McEvoy
- 2,816
- 19
- 24
2
votes
1 answer
AddIn (MAF) : Running in Separate process
I have WPF host app and AddIn is also WPF which returns UI as described below:
[link] http://msdn.microsoft.com/en-us/library/bb909849%28v=vs.110%29.aspx
I would like to know if it is even possible to activate WPF AddIn as external process:It looks…

user2506411
- 303
- 1
- 5
- 10
2
votes
2 answers
Is System.AddIn mostly about making it easier to use Remoting or does it make it harder to do so?
It takes at least 7 assemblies and restricting my AddIn's data model to data types that remoting can deal with before the appdomain isolation features begin to work. It is so complex! The System.AddIn teams blog implies to me they were trying to…

MatthewMartin
- 32,326
- 33
- 105
- 164
2
votes
2 answers
System.AddIn (Maf) Interconnection between addins
I want to use MAF in my project because I need a robust add-in architecture. Yet I come to a point where I need to call methods of an add-in from an other add-in. How can I achieve this with a flexible manner in which some add-ins should have…

Ufuk Altinok
- 33
- 4
2
votes
2 answers
Get TextBox focus in WPF app from plugins in separate process
We are using the System.AddIn structure for creating an application for hosting apps. What we would like is to hook up to the event that a TextBox gets focus in these separate apps.
How can we do that?
I know the processes, so I can access those and…

clausndk
- 3,129
- 2
- 18
- 14