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>
<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.

View File

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

View File

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

View File

@ -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>