The Free Software Media System - Server Backend & API
rework build scripts
Luke Pulverentib5842f9f1939
diff --git a/MediaBrowser.Api/MediaBrowser.Api.csproj b/MediaBrowser.Api/MediaBrowser.Api.csprojindex b233629e1f..26d826c694 100644--- a/MediaBrowser.Api/MediaBrowser.Api.csproj+++ b/MediaBrowser.Api/MediaBrowser.Api.csproj@@ -28,7 +28,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -37,7 +37,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.Api/System/SystemService.cs b/MediaBrowser.Api/System/SystemService.csindex 9d22d8dfaa..aa01e1b65e 100644--- a/MediaBrowser.Api/System/SystemService.cs+++ b/MediaBrowser.Api/System/SystemService.cs@@ -122,7 +122,7 @@ namespace MediaBrowser.Api.System{files = new DirectoryInfo(_appPaths.LogDirectoryPath).EnumerateFiles("*", SearchOption.AllDirectories)- .Where(i => string.Equals(i.Extension, ".txt", global::System.StringComparison.OrdinalIgnoreCase))+ .Where(i => string.Equals(i.Extension, ".txt", StringComparison.OrdinalIgnoreCase)).ToList();}catch (DirectoryNotFoundException)@@ -149,7 +149,7 @@ namespace MediaBrowser.Api.System{var file = new DirectoryInfo(_appPaths.LogDirectoryPath).EnumerateFiles("*", SearchOption.AllDirectories)- .First(i => string.Equals(i.Name, request.Name, global::System.StringComparison.OrdinalIgnoreCase));+ .First(i => string.Equals(i.Name, request.Name, StringComparison.OrdinalIgnoreCase));return ResultFactory.GetStaticFileResult(Request, file.FullName, FileShare.ReadWrite);}diff --git a/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj b/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csprojindex 5806a33d8e..ce99be47c8 100644--- a/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj+++ b/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -36,7 +36,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -125,6 +125,9 @@xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i)</PostBuildEvent></PropertyGroup>+ <PropertyGroup>+ <PostBuildEvent />+ </PropertyGroup><!-- 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.<Target Name="BeforeBuild">diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csprojindex 3c5b8b2492..9c154e1b23 100644--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -36,7 +36,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -120,6 +120,9 @@xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i)</PostBuildEvent></PropertyGroup>+ <PropertyGroup>+ <PostBuildEvent />+ </PropertyGroup><!-- 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.<Target Name="BeforeBuild">@@ -127,4 +130,4 @@ xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i<Target Name="AfterBuild"></Target>-->-</Project>+</Project>\ No newline at end of filediff --git a/MediaBrowser.Controller/Library/IUserManager.cs b/MediaBrowser.Controller/Library/IUserManager.csindex e9785e2ce8..6e084e9d81 100644--- a/MediaBrowser.Controller/Library/IUserManager.cs+++ b/MediaBrowser.Controller/Library/IUserManager.cs@@ -120,9 +120,9 @@ namespace MediaBrowser.Controller.Library/// Changes the password./// </summary>/// <param name="user">The user.</param>- /// <param name="newPassword">The new password.</param>+ /// <param name="newPasswordSha1">The new password sha1.</param>/// <returns>Task.</returns>- Task ChangePassword(User user, string newPassword);+ Task ChangePassword(User user, string newPasswordSha1);/// <summary>/// Gets the user dto.diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex 232f36ebf2..d64d71ff00 100644--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -39,7 +39,7 @@<RunPostBuildEvent>Always</RunPostBuildEvent></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -369,6 +369,9 @@ xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i<PreBuildEvent></PreBuildEvent></PropertyGroup>+ <PropertyGroup>+ <PostBuildEvent />+ </PropertyGroup><!-- 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.<Target Name="BeforeBuild">diff --git a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj b/MediaBrowser.Dlna/MediaBrowser.Dlna.csprojindex bc6e4f32a6..cff668b47a 100644--- a/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj+++ b/MediaBrowser.Dlna/MediaBrowser.Dlna.csproj@@ -25,7 +25,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj b/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csprojindex ba7857d973..821ac7b7f6 100644--- a/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj+++ b/MediaBrowser.LocalMetadata/MediaBrowser.LocalMetadata.csproj@@ -22,7 +22,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csprojindex 8c970eac2b..6f59b7becf 100644--- a/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj+++ b/MediaBrowser.MediaEncoding/MediaBrowser.MediaEncoding.csproj@@ -24,7 +24,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.MediaInfo/MediaBrowser.MediaInfo.csproj b/MediaBrowser.MediaInfo/MediaBrowser.MediaInfo.csprojindex fb02623b33..148f6e491b 100644--- a/MediaBrowser.MediaInfo/MediaBrowser.MediaInfo.csproj+++ b/MediaBrowser.MediaInfo/MediaBrowser.MediaInfo.csproj@@ -22,7 +22,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csprojindex 2cbebb8123..c1f8ef7d56 100644--- a/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj+++ b/MediaBrowser.Model.Portable/MediaBrowser.Model.Portable.csproj@@ -48,7 +48,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -1125,9 +1125,8 @@</ItemGroup><Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /><PropertyGroup>- <PostBuildEvent>if $(ConfigurationName) == Release (-xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\portable\" /y /d /r /i-)</PostBuildEvent>+ <PostBuildEvent>+ </PostBuildEvent></PropertyGroup><Import Project="Fody.targets" /><!-- To modify your build process, add your task inside one of the targets below and uncomment it.diff --git a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csprojindex d67eae574b..731af59d38 100644--- a/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj+++ b/MediaBrowser.Model.net35/MediaBrowser.Model.net35.csproj@@ -25,7 +25,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -1075,9 +1075,8 @@</ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><PropertyGroup>- <PostBuildEvent>if $(ConfigurationName) == Release (-xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\net35\" /y /d /r /i-)</PostBuildEvent>+ <PostBuildEvent>+ </PostBuildEvent></PropertyGroup><!-- 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.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex 55fb8d02b0..a7cadaec1a 100644--- a/MediaBrowser.Model/MediaBrowser.Model.csproj+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj@@ -430,6 +430,9 @@ xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\net45\" /y /d /r /i)</PostBuildEvent></PropertyGroup><Import Project="Fody.targets" />+ <PropertyGroup>+ <PostBuildEvent />+ </PropertyGroup><!-- 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.<Target Name="BeforeBuild">diff --git a/MediaBrowser.Providers/MediaBrowser.Providers.csproj b/MediaBrowser.Providers/MediaBrowser.Providers.csprojindex f58e863c4c..818ff5d80e 100644--- a/MediaBrowser.Providers/MediaBrowser.Providers.csproj+++ b/MediaBrowser.Providers/MediaBrowser.Providers.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -36,7 +36,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs b/MediaBrowser.Server.Implementations/Devices/DeviceRepository.csindex f10244a2c2..14a877e784 100644--- a/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs+++ b/MediaBrowser.Server.Implementations/Devices/DeviceRepository.cs@@ -20,14 +20,15 @@ namespace MediaBrowser.Server.Implementations.Devicesprivate readonly IApplicationPaths _appPaths;private readonly IJsonSerializer _json;- private ILogger _logger;+ private readonly ILogger _logger;private ConcurrentBag<DeviceInfo> _devices;- public DeviceRepository(IApplicationPaths appPaths, IJsonSerializer json)+ public DeviceRepository(IApplicationPaths appPaths, IJsonSerializer json, ILogger logger){_appPaths = appPaths;_json = json;+ _logger = logger;}private string GetDevicesPath()diff --git a/MediaBrowser.Server.Implementations/Library/UserManager.cs b/MediaBrowser.Server.Implementations/Library/UserManager.csindex f96d9882d0..55311ed8d4 100644--- a/MediaBrowser.Server.Implementations/Library/UserManager.cs+++ b/MediaBrowser.Server.Implementations/Library/UserManager.cs@@ -528,28 +528,38 @@ namespace MediaBrowser.Server.Implementations.Library/// <returns>Task.</returns>public Task ResetPassword(User user){- return ChangePassword(user, string.Empty);+ return ChangePassword(user, GetSha1String(string.Empty));}/// <summary>/// Changes the password./// </summary>/// <param name="user">The user.</param>- /// <param name="newPassword">The new password.</param>+ /// <param name="newPasswordSha1">The new password sha1.</param>/// <returns>Task.</returns>- public async Task ChangePassword(User user, string newPassword)+ /// <exception cref="System.ArgumentNullException">+ /// user+ /// or+ /// newPassword+ /// </exception>+ /// <exception cref="System.ArgumentException">Passwords for guests cannot be changed.</exception>+ public async Task ChangePassword(User user, string newPasswordSha1){if (user == null){throw new ArgumentNullException("user");}+ if (string.IsNullOrWhiteSpace(newPasswordSha1))+ {+ throw new ArgumentNullException("newPasswordSha1");+ }if (user.ConnectLinkType.HasValue && user.ConnectLinkType.Value == UserLinkType.Guest){throw new ArgumentException("Passwords for guests cannot be changed.");}- user.Password = string.IsNullOrEmpty(newPassword) ? GetSha1String(string.Empty) : GetSha1String(newPassword);+ user.Password = newPasswordSha1;await UpdateUser(user).ConfigureAwait(false);diff --git a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csprojindex bc03470e24..4a42662e19 100644--- a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj+++ b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -36,7 +36,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.csindex ecba39dd6a..75de6ab8fb 100644--- a/MediaBrowser.ServerApplication/ApplicationHost.cs+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs@@ -495,7 +495,7 @@ namespace MediaBrowser.ServerApplicationConnectManager = new ConnectManager(LogManager.GetLogger("Connect"), ApplicationPaths, JsonSerializer, encryptionManager, HttpClient, this, ServerConfigurationManager, UserManager, ProviderManager);RegisterSingleInstance(ConnectManager);- DeviceManager = new DeviceManager(new DeviceRepository(ApplicationPaths, JsonSerializer), UserManager, FileSystemManager, LibraryMonitor, ConfigurationManager, LogManager.GetLogger("DeviceManager"));+ DeviceManager = new DeviceManager(new DeviceRepository(ApplicationPaths, JsonSerializer, Logger), UserManager, FileSystemManager, LibraryMonitor, ConfigurationManager, LogManager.GetLogger("DeviceManager"));RegisterSingleInstance(DeviceManager);SessionManager = new SessionManager(UserDataManager, ServerConfigurationManager, Logger, UserRepository, LibraryManager, UserManager, musicManager, DtoService, ImageProcessor, ItemRepository, JsonSerializer, this, HttpClient, AuthenticationRepository, DeviceManager);diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csprojindex 555e460993..84a0c63843 100644--- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj+++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj@@ -26,7 +26,7 @@</PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "><PlatformTarget>AnyCPU</PlatformTarget>- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -53,7 +53,7 @@<OutputPath>bin\x86\Release\</OutputPath><DefineConstants>TRACE</DefineConstants><Optimize>true</Optimize>- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><PlatformTarget>x86</PlatformTarget><ErrorReport>prompt</ErrorReport><CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>diff --git a/MediaBrowser.Tests/MediaBrowser.Tests.csproj b/MediaBrowser.Tests/MediaBrowser.Tests.csprojindex 315ec583e9..c31b948fda 100644--- a/MediaBrowser.Tests/MediaBrowser.Tests.csproj+++ b/MediaBrowser.Tests/MediaBrowser.Tests.csproj@@ -27,7 +27,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csprojindex 3c87f65250..9a9552d5da 100644--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj+++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj@@ -27,7 +27,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>@@ -36,7 +36,7 @@<TargetFrameworkVersion>v4.5</TargetFrameworkVersion></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release Mono|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release Mono\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj b/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csprojindex 7116b4fd70..ac4bd83100 100644--- a/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj+++ b/MediaBrowser.XbmcMetadata/MediaBrowser.XbmcMetadata.csproj@@ -22,7 +22,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/OpenSubtitlesHandler/OpenSubtitlesHandler.csproj b/OpenSubtitlesHandler/OpenSubtitlesHandler.csprojindex 058bc26c75..683c166dc6 100644--- a/OpenSubtitlesHandler/OpenSubtitlesHandler.csproj+++ b/OpenSubtitlesHandler/OpenSubtitlesHandler.csproj@@ -23,7 +23,7 @@<WarningLevel>4</WarningLevel></PropertyGroup><PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">- <DebugType>pdbonly</DebugType>+ <DebugType>none</DebugType><Optimize>true</Optimize><OutputPath>bin\Release\</OutputPath><DefineConstants>TRACE</DefineConstants>diff --git a/SharedVersion.cs b/SharedVersion.csindex a8189830a9..241129842d 100644--- a/SharedVersion.cs+++ b/SharedVersion.cs@@ -3,6 +3,6 @@#if (DEBUG)[assembly: AssemblyVersion("3.0.*")]#else-//[assembly: AssemblyVersion("3.0.*")]-[assembly: AssemblyVersion("3.0.5421.0")]+[assembly: AssemblyVersion("3.0.*")]+//[assembly: AssemblyVersion("3.0.5421.0")]#endif