Add required MatterControl.Winforms dependencies

This commit is contained in:
John Lewin 2018-09-05 14:33:42 -07:00
parent 5c054aa2a9
commit aa0fb2563b
4 changed files with 10 additions and 2 deletions

View file

@ -78,6 +78,10 @@
<Project>{97d5ade3-c1b4-4b46-8a3e-718a4f7f079f}</Project>
<Name>MatterControl.Printing</Name>
</ProjectReference>
<ProjectReference Include="..\..\MatterControl.Winforms\MatterControl.Winforms.csproj">
<Project>{d6dc2669-7b1f-40fe-89bf-45d4c94473e3}</Project>
<Name>MatterControl.Winforms</Name>
</ProjectReference>
<ProjectReference Include="..\..\PluginSystem\MatterControlPluginSystem.csproj">
<Project>{865172a0-a1a9-49c2-9386-f2fdb4e141b7}</Project>
<Name>MatterControlPluginSystem</Name>

View file

@ -92,6 +92,10 @@
<Project>{97d5ade3-c1b4-4b46-8a3e-718a4f7f079f}</Project>
<Name>MatterControl.Printing</Name>
</ProjectReference>
<ProjectReference Include="..\..\MatterControl.Winforms\MatterControl.Winforms.csproj">
<Project>{d6dc2669-7b1f-40fe-89bf-45d4c94473e3}</Project>
<Name>MatterControl.Winforms</Name>
</ProjectReference>
<ProjectReference Include="..\..\PluginSystem\MatterControlPluginSystem.csproj">
<Project>{865172a0-a1a9-49c2-9386-f2fdb4e141b7}</Project>
<Name>MatterControlPluginSystem</Name>

View file

@ -658,7 +658,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
AutomationRunner.UpDelaySeconds = config.MouseUpDelay;
// Automation runner must do as much as program.cs to spin up platform
string platformFeaturesProvider = "MatterHackers.MatterControl.WindowsPlatformsFeatures, MatterControl";
string platformFeaturesProvider = "MatterHackers.MatterControl.WindowsPlatformsFeatures, MatterControl.Winforms";
AppContext.Platform = AggContext.CreateInstanceFrom<INativePlatformFeatures>(platformFeaturesProvider);
AppContext.Platform.ProcessCommandline();