Added missing reference to MediaBrowser.Common

2nd launch of ServerApplication will call OpenDashboard
This commit is contained in:
RedShirtMB Mark Linton redshirt linton 2012-08-05 09:09:45 -07:00
parent 2abc0e9020
commit debc4e6ae5
4 changed files with 10 additions and 4 deletions

View file

@ -45,6 +45,7 @@
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll</HintPath> <HintPath>..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Runtime.Remoting" />
<Reference Include="System.Xaml" /> <Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
@ -78,6 +79,7 @@
<Compile Include="UI\Splash.xaml.cs"> <Compile Include="UI\Splash.xaml.cs">
<DependentUpon>Splash.xaml</DependentUpon> <DependentUpon>Splash.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Util\SingleInstance.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="packages.config" /> <None Include="packages.config" />
@ -94,6 +96,7 @@
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
</ItemGroup> </ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- 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. Other similar extension points exist, see Microsoft.Common.targets.

View file

@ -33,8 +33,8 @@ namespace MediaBrowser.ServerApplication
#region ISingleInstanceApp Members #region ISingleInstanceApp Members
public bool SignalExternalCommandLineArgs(IList<string> args) public bool SignalExternalCommandLineArgs(IList<string> args)
{ {
// handle command line arguments of second instance OpenDashboard();
// ...
return true; return true;
} }
#endregion #endregion
@ -45,5 +45,9 @@ namespace MediaBrowser.ServerApplication
Kernel.Instance.Dispose(); Kernel.Instance.Dispose();
} }
public static void OpenDashboard()
{
}
} }
} }

View file

@ -65,7 +65,7 @@ namespace MediaBrowser.ServerApplication
private void cmOpenDashboard_click(object sender, RoutedEventArgs e) private void cmOpenDashboard_click(object sender, RoutedEventArgs e)
{ {
App.OpenDashboard();
} }
private void cmVisitCT_click(object sender, RoutedEventArgs e) private void cmVisitCT_click(object sender, RoutedEventArgs e)

View file

@ -60,7 +60,6 @@
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Compile Include="Util\SingleInstance.cs" />
<Page Include="MainWindow.xaml"> <Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>