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
commit 1751880581
15 changed files with 26 additions and 21 deletions

View file

@ -24,6 +24,7 @@ using GreenshotPlugin.Core;
using System;
using System.Windows;
using GreenshotPlugin.IniFile;
using GreenshotPlugin.Interfaces;
using GreenshotPlugin.Interfaces.Plugin;
using TranslationByMarkupExtension;
@ -96,7 +97,7 @@ namespace GreenshotConfluencePlugin {
}
if (ConfluenceDestination.IsInitialized)
{
SimpleServiceProvider.Current.AddService(new ConfluenceDestination());
SimpleServiceProvider.Current.AddService<IDestination>(new ConfluenceDestination());
}
return true;
}