Upgraded to .NET Framework 4.7.2 due to netstandard 2.0 issues, any lower version would make the installer even bigger.

Fixed an issue that some destinations were not visible as they were exported wrong.
This commit is contained in:
Krom, Robertus 2020-02-24 11:47:23 +01:00
parent bc2e991a2d
commit 1751880581
15 changed files with 26 additions and 21 deletions

View file

@ -62,7 +62,7 @@ namespace GreenshotBoxPlugin {
// Register configuration (don't need the configuration itself)
_config = IniConfig.GetIniSection<BoxConfiguration>();
_resources = new ComponentResourceManager(typeof(BoxPlugin));
SimpleServiceProvider.Current.AddService(new BoxDestination(this));
SimpleServiceProvider.Current.AddService<IDestination>(new BoxDestination(this));
_itemPlugInConfig = new ToolStripMenuItem {
Image = (Image) _resources.GetObject("Box"),
Text = Language.GetString("box", LangKey.Configure)