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

@ -74,7 +74,7 @@ namespace GreenshotOCRPlugin {
return false;
}
// Provide the IDestination
SimpleServiceProvider.Current.AddService(new OCRDestination(this));
SimpleServiceProvider.Current.AddService<IDestination>(new OCRDestination(this));
// Load configuration
_config = IniConfig.GetIniSection<OCRConfiguration>();