Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PluginService - Search Path Does Not Exist #6

Open
Foxtrek64 opened this issue Mar 6, 2024 · 0 comments
Open

PluginService - Search Path Does Not Exist #6

Foxtrek64 opened this issue Mar 6, 2024 · 0 comments

Comments

@Foxtrek64
Copy link
Sponsor

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
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant