When the search path for plugins does not exist, an exception is thrown. This can prevent the core app from running.
I would like to have a way to have it not throw when this happens. The best UI for this is up in the air, but perhaps something like this would be appropriate, where if not provided optional is false for backwards compatibility reasons.
var options = new PluginServiceOptions
(
[
("path1", optional: true),
("path2", optional: true)
],
ScanAssemblyDirectory: true
);