hlaueriksson / GEmojiSharp

:octocat: GitHub Emoji for C#, ASP.NET Core and Blazor, dotnet tool for the terminal and PowerToys Run plugin
https://hlaueriksson.github.io/GEmojiSharp/
MIT License
116 stars 8 forks source link

Fail to load plugin: GEmojiSharp #25

Closed shap-po closed 11 months ago

shap-po commented 11 months ago

When starting PowerToys, I get the following message:

Power Toys Run - Plugin Loading Error

Fail to load plugin: GEmojiSharp
Please report the bug to https://aka.ms/powerToysReportBug. (For
third-party plugins, please contact the plugin author.)

image

shap-po commented 11 months ago

The issue appeared after the last PT update (v0.75.0)

romanlex commented 11 months ago

Can confirm issue I get this error with 0.75.1

hlaueriksson commented 11 months ago

This bug is due to Group Policy Object (GPO) rules that was introduced in PowerToys v0.75.0:

All plugins have to provide its plugin ID as static property in its Main method

This error can be found in the logs:

Can't validate plugin ID of plugin <GEmojiSharp> in C:\Users\<user>\AppData\Local\Microsoft\PowerToys\PowerToys Run\Plugins\GEmojiSharp\GEmojiSharp.PowerToysRun.dll: The static property <Main.PluginID> was not found.

I will release a fix shortly.

hlaueriksson commented 11 months ago

@shap-po thanks for reporting this issue!

You can try out a fix in version 3.1.2 of GEmojiSharp.PowerToysRun

Download and install; https://github.com/hlaueriksson/GEmojiSharp/releases/tag/v3.1.2

romanlex commented 11 months ago

All work perfectly