diff --git a/NzbDrone.Common/ProcessProvider.cs b/NzbDrone.Common/ProcessProvider.cs index b2b38afe0..bf4eef3bc 100644 --- a/NzbDrone.Common/ProcessProvider.cs +++ b/NzbDrone.Common/ProcessProvider.cs @@ -23,7 +23,7 @@ namespace NzbDrone.Common { Logger.Trace("Finding process with Id:{0}", id); - var processInfo = ConvertToProcessInfo(Process.GetProcesses().Where(p => p.Id == id).FirstOrDefault()); + var processInfo = ConvertToProcessInfo(Process.GetProcesses().FirstOrDefault(p => p.Id == id)); if (processInfo == null) { diff --git a/NzbDrone/NzbDrone.csproj b/NzbDrone/NzbDrone.csproj index bf691f15e..f33d375d0 100644 --- a/NzbDrone/NzbDrone.csproj +++ b/NzbDrone/NzbDrone.csproj @@ -91,10 +91,12 @@ False ..\packages\FluentMigrator.1.0.6.0\tools\FluentMigrator.Runner.dll - - ..\NzbDrone.Api\bin\x86\Debug\Microsoft.AspNet.SignalR.Core.dll + + False + ..\packages\Microsoft.AspNet.SignalR.Core.1.0.1\lib\net40\Microsoft.AspNet.SignalR.Core.dll - + + False ..\packages\Microsoft.AspNet.SignalR.Owin.1.0.1\lib\net40\Microsoft.AspNet.SignalR.Owin.dll