From e9d47569b54e23fe4cd87ca0a005a5a6040ed9ce Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 8 Aug 2013 13:00:20 -0400 Subject: [PATCH] Don't auto update in debug mode --- MediaBrowser.ServerApplication/ApplicationHost.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index f6efe899f2..af719a07c1 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -507,7 +507,13 @@ namespace MediaBrowser.ServerApplication /// true if this instance can self update; otherwise, false. public override bool CanSelfUpdate { - get { return ConfigurationManager.CommonConfiguration.EnableAutoUpdate; } + get + { +#if DEBUG + return false; +#endif + return ConfigurationManager.CommonConfiguration.EnableAutoUpdate; + } } ///