diff --git a/Commander/App.config b/Commander/App.config index 2466a7b9..81d16afd 100644 --- a/Commander/App.config +++ b/Commander/App.config @@ -3,4 +3,8 @@ + + + + diff --git a/Commander/App.xaml.cs b/Commander/App.xaml.cs index 5bd20a7b..c1d388c4 100644 --- a/Commander/App.xaml.cs +++ b/Commander/App.xaml.cs @@ -1,4 +1,5 @@ using Cqse.Teamscale.Profiler.Commons.Ipc; +using System.Configuration; using System.Windows; namespace Cqse.Teamscale.Profiler.Commander @@ -12,7 +13,9 @@ public partial class App : Application protected override void OnStartup(StartupEventArgs e) { - profilerIpc = new ProfilerIpc(new IpcConfig()); + string publishSocket = ConfigurationManager.AppSettings["publishSocket"]; + string requestSocket = ConfigurationManager.AppSettings["requestSocket"]; + profilerIpc = new ProfilerIpc(new IpcConfig(publishSocket, requestSocket)); } protected override void OnExit(ExitEventArgs e)