Extract Android dependencies from .netstandard libraries

This commit is contained in:
John Lewin 2018-12-15 08:53:46 -08:00
parent 6ea0de691c
commit 54c3dbb08e
12 changed files with 43 additions and 612 deletions

View file

@ -128,8 +128,9 @@ namespace MatterHackers.MatterControl
// Init platformFeaturesProvider before ShowAsSystemWindow
string platformFeaturesProvider = "MatterHackers.MatterControl.WindowsPlatformsFeatures, MatterControl.Winforms";
MatterHackers.MatterControl.AppContext.Platform = AggContext.CreateInstanceFrom<INativePlatformFeatures>(platformFeaturesProvider);
MatterHackers.MatterControl.AppContext.Platform.ProcessCommandline();
AppContext.Platform = AggContext.CreateInstanceFrom<INativePlatformFeatures>(platformFeaturesProvider);
AppContext.Platform.InitPluginFinder();
AppContext.Platform.ProcessCommandline();
config.Bind("MatterControl", MatterHackers.MatterControl.AppContext.Options);