-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
PowerToys Run will not load plugin's depencies dll #18435
Comments
_assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(Metadata.ExecuteFilePath); I found the relevant code, which does not resolve dependencies layer by layer.... It seems that the plugin system still has a long way to go |
/bugreport |
#18437 |
Can't you switch to |
@rozbo There was an internal decision that this is the way we want to go with community plugins. (@crutkas please correct me if this is wrong. If not we should create a hint in our readme.) |
Of course I can easily switch to I will change the plugin's name to |
@htcfreek they are proposing the correct solution here. We want clear distinction for our codebase what is and is not community. If someone loads a 3rd party plugin, they can use whatever namespace |
This has been worked on during the 0.77 Release sprint. Please update PowerToys to the latest release: https://github.com/microsoft/PowerToys/releases |
Microsoft PowerToys version
0.58.0
Running as admin
Area(s) with issue?
PowerToys Run
Steps to reproduce
build a plugin with 3rd depency like
Newtonsoft.Json
, build the plugin and put both plugin.dll and Newtonsoft.Json.dll to plugin dir.then, restart , see logs
✔️ Expected Behavior
the plugin can load its depencies
❌ Actual Behavior
the plugin will not load its depencies
Other Software
No response
The text was updated successfully, but these errors were encountered: