The Free Software Media System - Server Backend & API
Added missing reference to MediaBrowser.Common 2nd launch of ServerApplication will call OpenDashboard
RedShirtMB Mark Linton redshirt lintondebc4e6ae513
diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csprojindex 7017b9b57d..d647903ade 100644--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@ -45,6 +45,7 @@<SpecificVersion>False</SpecificVersion><HintPath>..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll</HintPath></Reference>+ <Reference Include="System.Runtime.Remoting" /><Reference Include="System.Xaml" /><Reference Include="System.Xml.Linq" /><Reference Include="System.Data.DataSetExtensions" />@@ -78,6 +79,7 @@<Compile Include="UI\Splash.xaml.cs"><DependentUpon>Splash.xaml</DependentUpon></Compile>+ <Compile Include="Util\SingleInstance.cs" /></ItemGroup><ItemGroup><None Include="packages.config" />@@ -94,6 +96,7 @@<Generator>MSBuild:Compile</Generator></Page></ItemGroup>+ <ItemGroup /><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.ServerApplication/App.xaml.cs b/MediaBrowser.ServerApplication/App.xaml.csindex 1106b7999c..f6f05b728c 100644--- a/MediaBrowser.ServerApplication/App.xaml.cs+++ b/MediaBrowser.ServerApplication/App.xaml.cs@@ -33,8 +33,8 @@ namespace MediaBrowser.ServerApplication#region ISingleInstanceApp Memberspublic bool SignalExternalCommandLineArgs(IList<string> args){- // handle command line arguments of second instance- // ...+ OpenDashboard();+return true;}#endregion@@ -45,5 +45,9 @@ namespace MediaBrowser.ServerApplicationKernel.Instance.Dispose();}++ public static void OpenDashboard()+ {+ }}}diff --git a/MediaBrowser.ServerApplication/MainWindow.xaml.cs b/MediaBrowser.ServerApplication/MainWindow.xaml.csindex ee473bbc09..a4be374756 100644--- a/MediaBrowser.ServerApplication/MainWindow.xaml.cs+++ b/MediaBrowser.ServerApplication/MainWindow.xaml.cs@@ -65,7 +65,7 @@ namespace MediaBrowser.ServerApplicationprivate void cmOpenDashboard_click(object sender, RoutedEventArgs e){-+ App.OpenDashboard();}private void cmVisitCT_click(object sender, RoutedEventArgs e)diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csprojindex d976cd1111..fa54626af1 100644--- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj+++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj@@ -60,7 +60,6 @@<Generator>MSBuild:Compile</Generator><SubType>Designer</SubType></Page>- <Compile Include="Util\SingleInstance.cs" /><Page Include="MainWindow.xaml"><Generator>MSBuild:Compile</Generator><SubType>Designer</SubType>