<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion= "4.0" DefaultTargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<Import Project= "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition= "Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup >
<Configuration Condition= " '$(Configuration)' == '' " > Debug</Configuration>
<Platform Condition= " '$(Platform)' == '' " > AnyCPU</Platform>
<ProjectGuid > {156EA256-AD2D-4D2F-B116-2ED4B9EFD869}</ProjectGuid>
<OutputType > WinExe</OutputType>
<AppDesignerFolder > Properties</AppDesignerFolder>
<RootNamespace > MediaBrowser.ServerApplication</RootNamespace>
<AssemblyName > MediaBrowser.ServerApplication</AssemblyName>
<TargetFrameworkVersion > v4.5</TargetFrameworkVersion>
<FileAlignment > 512</FileAlignment>
<ProjectTypeGuids > {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel > 4</WarningLevel>
<IsWebBootstrapper > true</IsWebBootstrapper>
<SolutionDir Condition= "$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" > ..\</SolutionDir>
<RestorePackages > true</RestorePackages>
<PublishUrl > http://www.mb3admin.com/downloads/server/</PublishUrl>
<Install > true</Install>
<InstallFrom > Web</InstallFrom>
<UpdateEnabled > false</UpdateEnabled>
<UpdateMode > Background</UpdateMode>
<UpdateInterval > 1</UpdateInterval>
<UpdateIntervalUnits > Days</UpdateIntervalUnits>
<UpdatePeriodically > false</UpdatePeriodically>
<UpdateRequired > false</UpdateRequired>
<MapFileExtensions > true</MapFileExtensions>
<SupportUrl > http://forum.mediabrowser3.com</SupportUrl>
<ProductName > Media Browser Server</ProductName>
<PublisherName > Media Browser Team</PublisherName>
<SuiteName > Media Browser 3</SuiteName>
<ApplicationRevision > 3033</ApplicationRevision>
<ApplicationVersion > 2.9.4795.3033</ApplicationVersion>
<UseApplicationTrust > false</UseApplicationTrust>
<CreateDesktopShortcut > true</CreateDesktopShortcut>
<PublishWizardCompleted > true</PublishWizardCompleted>
<BootstrapperEnabled > true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
<PlatformTarget > AnyCPU</PlatformTarget>
<DebugSymbols > true</DebugSymbols>
<DebugType > full</DebugType>
<Optimize > false</Optimize>
<OutputPath > bin\Debug\</OutputPath>
<DefineConstants > DEBUG;TRACE</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 1</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition= " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
<PlatformTarget > AnyCPU</PlatformTarget>
<DebugType > pdbonly</DebugType>
<Optimize > true</Optimize>
<OutputPath > bin\Release\</OutputPath>
<DefineConstants > TRACE</DefineConstants>
<ErrorReport > prompt</ErrorReport>
<WarningLevel > 4</WarningLevel>
</PropertyGroup>
<PropertyGroup >
<StartupObject > MediaBrowser.ServerApplication.App</StartupObject>
</PropertyGroup>
<PropertyGroup >
<ApplicationIcon > Resources\Images\icon.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup >
<ApplicationManifest > app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup >
<RunPostBuildEvent > OnBuildSuccess</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup >
<ManifestCertificateThumbprint > 9633DCDB4A07D3328EFB99299C6DFB1823EBC4BE</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup >
<ManifestKeyFile >
</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup >
<GenerateManifests > false</GenerateManifests>
</PropertyGroup>
<PropertyGroup >
<SignManifests > false</SignManifests>
</PropertyGroup>
<PropertyGroup >
<ManifestTimestampUrl > http://timestamp.verisign.com/scripts/timstamp.dll</ManifestTimestampUrl>
</PropertyGroup>
<PropertyGroup >
<SignAssembly > false</SignAssembly>
</PropertyGroup>
<PropertyGroup >
<AssemblyOriginatorKeyFile >
</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Debug|x86'" >
<DebugSymbols > true</DebugSymbols>
<OutputPath > bin\x86\Debug\</OutputPath>
<DefineConstants > DEBUG;TRACE</DefineConstants>
<WarningLevel > 1</WarningLevel>
<DebugType > full</DebugType>
<PlatformTarget > x86</PlatformTarget>
<ErrorReport > prompt</ErrorReport>
<CodeAnalysisRuleSet > MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit > true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition= "'$(Configuration)|$(Platform)' == 'Release|x86'" >
<OutputPath > bin\x86\Release\</OutputPath>
<DefineConstants > TRACE</DefineConstants>
<Optimize > true</Optimize>
<DebugType > pdbonly</DebugType>
<PlatformTarget > x86</PlatformTarget>
<ErrorReport > prompt</ErrorReport>
<CodeAnalysisRuleSet > MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit > true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup >
<TargetZone > LocalIntranet</TargetZone>
</PropertyGroup>
<ItemGroup >
<Reference Include= "Hardcodet.Wpf.TaskbarNotification" >
<HintPath > ..\packages\Hardcodet.Wpf.TaskbarNotification.1.0.4.0\lib\net40\Hardcodet.Wpf.TaskbarNotification.dll</HintPath>
</Reference>
<Reference Include= "Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll</HintPath>
</Reference>
<Reference Include= "MahApps.Metro" >
<HintPath > ..\packages\MahApps.Metro.0.11.0.17-ALPHA\lib\net45\MahApps.Metro.dll</HintPath>
</Reference>
<Reference Include= "MediaBrowser.IsoMounter, Version=1.0.4827.21973, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\MediaBrowser.IsoMounting.3.0.51\lib\net45\MediaBrowser.IsoMounter.dll</HintPath>
</Reference>
<Reference Include= "MoreLinq, Version=1.0.15631.0, Culture=neutral, PublicKeyToken=384d532d7e88985d, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\morelinq.1.0.15631-beta\lib\net35\MoreLinq.dll</HintPath>
</Reference>
<Reference Include= "NLog, Version=2.0.1.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\NLog.2.0.1.2\lib\net45\NLog.dll</HintPath>
</Reference>
<Reference Include= "pfmclrapi, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\MediaBrowser.IsoMounting.3.0.51\lib\net45\pfmclrapi.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack, Version=3.9.46.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\ServiceStack.3.9.46\lib\net35\ServiceStack.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.Common, Version=3.9.46.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\ServiceStack.Common.3.9.46\lib\net35\ServiceStack.Common.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.Interfaces, Version=3.9.46.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\ServiceStack.Common.3.9.46\lib\net35\ServiceStack.Interfaces.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.OrmLite.SqlServer" >
<HintPath > ..\packages\ServiceStack.OrmLite.SqlServer.3.9.44\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.Redis" >
<HintPath > ..\packages\ServiceStack.Redis.3.9.44\lib\net35\ServiceStack.Redis.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.ServiceInterface, Version=3.9.46.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\ServiceStack.3.9.46\lib\net35\ServiceStack.ServiceInterface.dll</HintPath>
</Reference>
<Reference Include= "ServiceStack.Text, Version=3.9.45.0, Culture=neutral, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\ServiceStack.Text.3.9.45\lib\net35\ServiceStack.Text.dll</HintPath>
</Reference>
<Reference Include= "SimpleInjector, Version=2.2.1.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL" >
<SpecificVersion > False</SpecificVersion>
<HintPath > ..\packages\SimpleInjector.2.2.1\lib\net40-client\SimpleInjector.dll</HintPath>
</Reference>
<Reference Include= "System" />
<Reference Include= "System.Data" />
<Reference Include= "System.Drawing" />
<Reference Include= "System.Net" />
<Reference Include= "System.Runtime.Remoting" />
<Reference Include= "System.Windows.Forms" />
<Reference Include= "System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
<HintPath > ..\packages\MahApps.Metro.0.11.0.17-ALPHA\lib\net45\System.Windows.Interactivity.dll</HintPath>
</Reference>
<Reference Include= "System.Xml" />
<Reference Include= "Microsoft.CSharp" />
<Reference Include= "System.Core" />
<Reference Include= "System.Data.DataSetExtensions" />
<Reference Include= "System.Xaml" >
<RequiredTargetFramework > 4.0</RequiredTargetFramework>
</Reference>
<Reference Include= "WindowsBase" />
<Reference Include= "PresentationCore" />
<Reference Include= "PresentationFramework" />
</ItemGroup>
<ItemGroup >
<Compile Include= "EntryPoints\LibraryChangedNotifier.cs" />
<Compile Include= "EntryPoints\LoadRegistrations.cs" />
<Compile Include= "EntryPoints\RefreshUsersMetadata.cs" />
<Compile Include= "EntryPoints\StartupWizard.cs" />
<Compile Include= "EntryPoints\UdpServerEntryPoint.cs" />
<Compile Include= "EntryPoints\WebSocketEvents.cs" />
<Compile Include= "Splash\SplashWindow.xaml.cs" >
<DependentUpon > SplashWindow.xaml</DependentUpon>
</Compile>
<Page Include= "App.xaml" >
<Generator > MSBuild:Compile</Generator>
<SubType > Designer</SubType>
</Page>
<Page Include= "LibraryExplorer.xaml" >
<SubType > Designer</SubType>
<Generator > MSBuild:Compile</Generator>
</Page>
<Page Include= "Logging\LogWindow.xaml" >
<Generator > MSBuild:Compile</Generator>
<SubType > Designer</SubType>
</Page>
<Page Include= "MainWindow.xaml" >
<Generator > MSBuild:Compile</Generator>
<SubType > Designer</SubType>
</Page>
<Compile Include= "..\SharedVersion.cs" >
<Link > Properties\SharedVersion.cs</Link>
</Compile>
<Compile Include= "App.xaml.cs" >
<DependentUpon > App.xaml</DependentUpon>
<SubType > Code</SubType>
</Compile>
<Compile Include= "ApplicationHost.cs" />
<Compile Include= "Implementations\DotNetZipClient.cs" />
<Compile Include= "LibraryExplorer.xaml.cs" >
<DependentUpon > LibraryExplorer.xaml</DependentUpon>
</Compile>
<Compile Include= "Logging\LogWindow.xaml.cs" >
<DependentUpon > LogWindow.xaml</DependentUpon>
</Compile>
<Compile Include= "Logging\WindowTraceListener.cs" />
<Compile Include= "MainWindow.xaml.cs" >
<DependentUpon > MainWindow.xaml</DependentUpon>
<SubType > Code</SubType>
</Compile>
<Page Include= "Splash\SplashWindow.xaml" >
<SubType > Designer</SubType>
<Generator > MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup >
<Compile Include= "Properties\AssemblyInfo.cs" >
<SubType > Code</SubType>
</Compile>
<Compile Include= "Properties\Resources.Designer.cs" >
<AutoGen > True</AutoGen>
<DesignTime > True</DesignTime>
<DependentUpon > Resources.resx</DependentUpon>
</Compile>
<Compile Include= "Properties\Settings.Designer.cs" >
<AutoGen > True</AutoGen>
<DependentUpon > Settings.settings</DependentUpon>
<DesignTimeSharedInput > True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include= "Properties\Resources.resx" >
<Generator > ResXFileCodeGenerator</Generator>
<LastGenOutput > Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include= "app.manifest" />
<None Include= "packages.config" />
<None Include= "Properties\Settings.settings" >
<Generator > SettingsSingleFileGenerator</Generator>
<LastGenOutput > Settings.Designer.cs</LastGenOutput>
</None>
<AppDesigner Include= "Properties\" />
<EmbeddedResource Include= "RegisterServer.bat" />
</ItemGroup>
<ItemGroup >
<None Include= "App.config" >
<SubType > Designer</SubType>
</None>
</ItemGroup>
<ItemGroup >
<ProjectReference Include= "..\MediaBrowser.Api\MediaBrowser.Api.csproj" >
<Project > {4fd51ac5-2c16-4308-a993-c3a84f3b4582}</Project>
<Name > MediaBrowser.Api</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.Common.Implementations\MediaBrowser.Common.Implementations.csproj" >
<Project > {c4d2573a-3fd3-441f-81af-174ac4cd4e1d}</Project>
<Name > MediaBrowser.Common.Implementations</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.Common\MediaBrowser.Common.csproj" >
<Project > {9142eefa-7570-41e1-bfcc-468bb571af2f}</Project>
<Name > MediaBrowser.Common</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" >
<Project > {17e1f4e6-8abd-4fe5-9ecf-43d4b6087ba2}</Project>
<Name > MediaBrowser.Controller</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.Model\MediaBrowser.Model.csproj" >
<Project > {7eeeb4bb-f3e8-48fc-b4c5-70f0fff8329b}</Project>
<Name > MediaBrowser.Model</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.Server.Implementations\MediaBrowser.Server.Implementations.csproj" >
<Project > {2e781478-814d-4a48-9d80-bff206441a65}</Project>
<Name > MediaBrowser.Server.Implementations</Name>
</ProjectReference>
<ProjectReference Include= "..\MediaBrowser.WebDashboard\MediaBrowser.WebDashboard.csproj" >
<Project > {5624b7b5-b5a7-41d8-9f10-cc5611109619}</Project>
<Name > MediaBrowser.WebDashboard</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\icon.ico" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\folder.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\movie.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\series.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\season.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\episode.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\audio.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\starEmpty.png" />
<Resource Include= "Resources\Images\starFull.png" />
<Resource Include= "Resources\Images\starHalf.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\artist.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\persons.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\album.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\boxset.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\trailer.png" />
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\folder.jpg" />
<Resource Include= "Resources\Images\mblogoblackfull.png" />
<Resource Include= "Resources\Images\mblogowhitefull.png" />
</ItemGroup>
<ItemGroup >
<BootstrapperPackage Include= ".NETFramework,Version=v4.5" >
<Visible > False</Visible>
<ProductName > Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install > true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include= "Microsoft.Net.Client.3.5" >
<Visible > False</Visible>
<ProductName > .NET Framework 3.5 SP1 Client Profile</ProductName>
<Install > false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include= "Microsoft.Net.Framework.3.5.SP1" >
<Visible > False</Visible>
<ProductName > .NET Framework 3.5 SP1</ProductName>
<Install > false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include= "Microsoft.Visual.C++.10.0.x86" >
<Visible > False</Visible>
<ProductName > Visual C++ 2010 Runtime Libraries %28x86%29</ProductName>
<Install > true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup >
<Resource Include= "Resources\Images\mb3logo800.png" />
</ItemGroup>
<Import Project= "$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup >
<PostBuildEvent > if $(ConfigurationName) == Release (
rmdir "$(SolutionDir)..\Deploy\Server\System" /s /q
mkdir "$(SolutionDir)..\Deploy\Server\System"
rmdir "$(SolutionDir)..\Deploy\Server\Pismo" /s /q
mkdir "$(SolutionDir)..\Deploy\Server\Pismo"
xcopy "$(TargetDir)$(TargetFileName)" "$(SolutionDir)..\Deploy\Server\System\" /y
xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe.config" "$(SolutionDir)..\Deploy\Server\System\" /y
xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
xcopy "$(SolutionDir)Installation\MediaBrowser.InstallUtil.dll" "$(SolutionDir)..\Deploy\Server\System\" /y
xcopy "$(SolutionDir)Installation\MediaBrowser.Updater.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
//Pismo
"$(SolutionDir)ThirdParty\7zip\7za" x "$(SolutionDir)ThirdParty\Pismo-Install\pfm-168-mediabrowser-win.zip" -o"$(SolutionDir)..\Deploy\Server\Pismo\" -y
mkdir "$(SolutionDir)..\Deploy\Server\System\swagger-ui"
xcopy "$(TargetDir)swagger-ui" "$(SolutionDir)..\Deploy\Server\System\swagger-ui" /y /s
xcopy "$(TargetDir)$(TargetFileName).config" "$(SolutionDir)..\Deploy\Server\System\" /y
xcopy "$(TargetDir)*.dll" "$(SolutionDir)..\Deploy\Server\System" /y
mkdir "$(SolutionDir)..\Deploy\Server\System\CorePlugins"
xcopy "$(TargetDir)CorePlugins" "$(SolutionDir)..\Deploy\Server\System\CorePlugins" /y
mkdir "$(SolutionDir)..\Deploy\Server\System\dashboard-ui"
xcopy "$(TargetDir)dashboard-ui" "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" /y /s
del "$(SolutionDir)..\Deploy\MBServer.zip"
"$(SolutionDir)ThirdParty\7zip\7za" a -tzip "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*"
)</PostBuildEvent>
</PropertyGroup>
<Import Project= "$(SolutionDir)\.nuget\nuget.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.
<Target Name= "BeforeBuild" >
</Target>
<Target Name= "AfterBuild" >
</Target>
-->
<Target Name= "AfterBuild" >
<GetAssemblyIdentity AssemblyFiles= "$(TargetPath)" >
<Output TaskParameter= "Assemblies" ItemName= "CurrentAssembly" />
</GetAssemblyIdentity>
<Exec Command= "copy "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip" /y" Condition= "'$(ConfigurationName)' == 'Release'" />
</Target>
</Project>