MediaBrowser.ServerApplication.csproj 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{156EA256-AD2D-4D2F-B116-2ED4B9EFD869}</ProjectGuid>
  8. <OutputType>WinExe</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>MediaBrowser.ServerApplication</RootNamespace>
  11. <AssemblyName>MediaBrowser.ServerApplication</AssemblyName>
  12. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  15. <WarningLevel>4</WarningLevel>
  16. <IsWebBootstrapper>true</IsWebBootstrapper>
  17. <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
  18. <RestorePackages>true</RestorePackages>
  19. <PublishUrl>http://www.mb3admin.com/downloads/server/</PublishUrl>
  20. <Install>true</Install>
  21. <InstallFrom>Web</InstallFrom>
  22. <UpdateEnabled>false</UpdateEnabled>
  23. <UpdateMode>Background</UpdateMode>
  24. <UpdateInterval>1</UpdateInterval>
  25. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  26. <UpdatePeriodically>false</UpdatePeriodically>
  27. <UpdateRequired>false</UpdateRequired>
  28. <MapFileExtensions>true</MapFileExtensions>
  29. <SupportUrl>http://forum.mediabrowser3.com</SupportUrl>
  30. <ProductName>Media Browser Server</ProductName>
  31. <PublisherName>Media Browser Team</PublisherName>
  32. <SuiteName>Media Browser 3</SuiteName>
  33. <ApplicationRevision>3033</ApplicationRevision>
  34. <ApplicationVersion>2.9.4795.3033</ApplicationVersion>
  35. <UseApplicationTrust>false</UseApplicationTrust>
  36. <CreateDesktopShortcut>true</CreateDesktopShortcut>
  37. <PublishWizardCompleted>true</PublishWizardCompleted>
  38. <BootstrapperEnabled>true</BootstrapperEnabled>
  39. </PropertyGroup>
  40. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  41. <PlatformTarget>AnyCPU</PlatformTarget>
  42. <DebugSymbols>true</DebugSymbols>
  43. <DebugType>full</DebugType>
  44. <Optimize>false</Optimize>
  45. <OutputPath>bin\Debug\</OutputPath>
  46. <DefineConstants>DEBUG;TRACE</DefineConstants>
  47. <ErrorReport>prompt</ErrorReport>
  48. <WarningLevel>1</WarningLevel>
  49. </PropertyGroup>
  50. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  51. <PlatformTarget>AnyCPU</PlatformTarget>
  52. <DebugType>pdbonly</DebugType>
  53. <Optimize>true</Optimize>
  54. <OutputPath>bin\Release\</OutputPath>
  55. <DefineConstants>TRACE</DefineConstants>
  56. <ErrorReport>prompt</ErrorReport>
  57. <WarningLevel>4</WarningLevel>
  58. </PropertyGroup>
  59. <PropertyGroup>
  60. <StartupObject>MediaBrowser.ServerApplication.MainStartup</StartupObject>
  61. </PropertyGroup>
  62. <PropertyGroup>
  63. <ApplicationIcon>Resources\Images\icon.ico</ApplicationIcon>
  64. </PropertyGroup>
  65. <PropertyGroup>
  66. <ApplicationManifest>app.manifest</ApplicationManifest>
  67. </PropertyGroup>
  68. <PropertyGroup>
  69. <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
  70. </PropertyGroup>
  71. <PropertyGroup>
  72. <ManifestCertificateThumbprint>9633DCDB4A07D3328EFB99299C6DFB1823EBC4BE</ManifestCertificateThumbprint>
  73. </PropertyGroup>
  74. <PropertyGroup>
  75. <ManifestKeyFile>
  76. </ManifestKeyFile>
  77. </PropertyGroup>
  78. <PropertyGroup>
  79. <GenerateManifests>false</GenerateManifests>
  80. </PropertyGroup>
  81. <PropertyGroup>
  82. <SignManifests>false</SignManifests>
  83. </PropertyGroup>
  84. <PropertyGroup>
  85. <ManifestTimestampUrl>http://timestamp.verisign.com/scripts/timstamp.dll</ManifestTimestampUrl>
  86. </PropertyGroup>
  87. <PropertyGroup>
  88. <SignAssembly>false</SignAssembly>
  89. </PropertyGroup>
  90. <PropertyGroup>
  91. <AssemblyOriginatorKeyFile>
  92. </AssemblyOriginatorKeyFile>
  93. </PropertyGroup>
  94. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  95. <DebugSymbols>true</DebugSymbols>
  96. <OutputPath>bin\x86\Debug\</OutputPath>
  97. <DefineConstants>DEBUG;TRACE</DefineConstants>
  98. <WarningLevel>1</WarningLevel>
  99. <DebugType>full</DebugType>
  100. <PlatformTarget>x86</PlatformTarget>
  101. <ErrorReport>prompt</ErrorReport>
  102. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  103. <Prefer32Bit>true</Prefer32Bit>
  104. </PropertyGroup>
  105. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  106. <OutputPath>bin\x86\Release\</OutputPath>
  107. <DefineConstants>TRACE</DefineConstants>
  108. <Optimize>true</Optimize>
  109. <DebugType>pdbonly</DebugType>
  110. <PlatformTarget>x86</PlatformTarget>
  111. <ErrorReport>prompt</ErrorReport>
  112. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  113. <Prefer32Bit>true</Prefer32Bit>
  114. </PropertyGroup>
  115. <PropertyGroup>
  116. <TargetZone>LocalIntranet</TargetZone>
  117. </PropertyGroup>
  118. <ItemGroup>
  119. <Reference Include="Hardcodet.Wpf.TaskbarNotification">
  120. <HintPath>..\packages\Hardcodet.Wpf.TaskbarNotification.1.0.4.0\lib\net40\Hardcodet.Wpf.TaskbarNotification.dll</HintPath>
  121. </Reference>
  122. <Reference Include="MediaBrowser.IsoMounter, Version=1.0.5079.1480, Culture=neutral, processorArchitecture=MSIL">
  123. <SpecificVersion>False</SpecificVersion>
  124. <HintPath>..\packages\MediaBrowser.IsoMounting.3.0.65\lib\net45\MediaBrowser.IsoMounter.dll</HintPath>
  125. </Reference>
  126. <Reference Include="NLog, Version=2.1.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
  127. <SpecificVersion>False</SpecificVersion>
  128. <HintPath>..\packages\NLog.2.1.0\lib\net45\NLog.dll</HintPath>
  129. </Reference>
  130. <Reference Include="pfmclrapi, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86">
  131. <SpecificVersion>False</SpecificVersion>
  132. <HintPath>..\packages\MediaBrowser.IsoMounting.3.0.65\lib\net45\pfmclrapi.dll</HintPath>
  133. </Reference>
  134. <Reference Include="ServiceStack.Interfaces">
  135. <HintPath>..\ThirdParty\ServiceStack\ServiceStack.Interfaces.dll</HintPath>
  136. </Reference>
  137. <Reference Include="SimpleInjector, Version=2.4.0.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL">
  138. <SpecificVersion>False</SpecificVersion>
  139. <HintPath>..\packages\SimpleInjector.2.4.0\lib\net45\SimpleInjector.dll</HintPath>
  140. </Reference>
  141. <Reference Include="SimpleInjector.Diagnostics">
  142. <HintPath>..\packages\SimpleInjector.2.4.0\lib\net45\SimpleInjector.Diagnostics.dll</HintPath>
  143. </Reference>
  144. <Reference Include="System" />
  145. <Reference Include="System.Configuration.Install" />
  146. <Reference Include="System.Data" />
  147. <Reference Include="System.Drawing" />
  148. <Reference Include="System.Net" />
  149. <Reference Include="System.ServiceProcess" />
  150. <Reference Include="System.Windows.Forms" />
  151. <Reference Include="System.Xml" />
  152. <Reference Include="Microsoft.CSharp" />
  153. <Reference Include="System.Core" />
  154. <Reference Include="System.Data.DataSetExtensions" />
  155. <Reference Include="System.Xaml">
  156. <RequiredTargetFramework>4.0</RequiredTargetFramework>
  157. </Reference>
  158. <Reference Include="WindowsBase" />
  159. <Reference Include="PresentationCore" />
  160. <Reference Include="PresentationFramework" />
  161. </ItemGroup>
  162. <ItemGroup>
  163. <Compile Include="BackgroundService.cs">
  164. <SubType>Component</SubType>
  165. </Compile>
  166. <Compile Include="EntryPoints\ResourceEntryPoint.cs" />
  167. <Compile Include="EntryPoints\StartupWizard.cs" />
  168. <Compile Include="EntryPoints\WanAddressEntryPoint.cs" />
  169. <Compile Include="FFMpeg\FFMpegDownloadInfo.cs" />
  170. <Compile Include="FFMpeg\FFMpegInfo.cs" />
  171. <Compile Include="IO\FileSystemFactory.cs" />
  172. <Compile Include="Native\Assemblies.cs" />
  173. <Compile Include="Native\NativeApp.cs" />
  174. <Compile Include="IO\NativeFileSystem.cs" />
  175. <Compile Include="Native\ServerAuthorization.cs" />
  176. <Compile Include="Native\Autorun.cs" />
  177. <Compile Include="Native\BrowserLauncher.cs" />
  178. <Compile Include="FFMpeg\FFMpegDownloader.cs" />
  179. <Compile Include="MainStartup.cs" />
  180. <Compile Include="BackgroundServiceInstaller.cs">
  181. <SubType>Component</SubType>
  182. </Compile>
  183. <Compile Include="Networking\NativeMethods.cs" />
  184. <Compile Include="Networking\NetworkManager.cs" />
  185. <Compile Include="Networking\NetworkShares.cs" />
  186. <Compile Include="Splash\SplashWindow.xaml.cs">
  187. <DependentUpon>SplashWindow.xaml</DependentUpon>
  188. </Compile>
  189. <Page Include="App.xaml">
  190. <Generator>MSBuild:Compile</Generator>
  191. <SubType>Designer</SubType>
  192. </Page>
  193. <Page Include="LibraryExplorer.xaml">
  194. <SubType>Designer</SubType>
  195. <Generator>MSBuild:Compile</Generator>
  196. </Page>
  197. <Page Include="Logging\LogWindow.xaml">
  198. <Generator>MSBuild:Compile</Generator>
  199. <SubType>Designer</SubType>
  200. </Page>
  201. <Page Include="MainWindow.xaml">
  202. <Generator>MSBuild:Compile</Generator>
  203. <SubType>Designer</SubType>
  204. </Page>
  205. <Compile Include="..\SharedVersion.cs">
  206. <Link>Properties\SharedVersion.cs</Link>
  207. </Compile>
  208. <Compile Include="App.xaml.cs">
  209. <DependentUpon>App.xaml</DependentUpon>
  210. <SubType>Code</SubType>
  211. </Compile>
  212. <Compile Include="ApplicationHost.cs" />
  213. <Compile Include="LibraryExplorer.xaml.cs">
  214. <DependentUpon>LibraryExplorer.xaml</DependentUpon>
  215. </Compile>
  216. <Compile Include="Logging\LogWindow.xaml.cs">
  217. <DependentUpon>LogWindow.xaml</DependentUpon>
  218. </Compile>
  219. <Compile Include="Logging\WindowTraceListener.cs" />
  220. <Compile Include="MainWindow.xaml.cs">
  221. <DependentUpon>MainWindow.xaml</DependentUpon>
  222. <SubType>Code</SubType>
  223. </Compile>
  224. <Page Include="Splash\SplashWindow.xaml">
  225. <SubType>Designer</SubType>
  226. <Generator>MSBuild:Compile</Generator>
  227. </Page>
  228. </ItemGroup>
  229. <ItemGroup>
  230. <Compile Include="Properties\AssemblyInfo.cs">
  231. <SubType>Code</SubType>
  232. </Compile>
  233. <Compile Include="Properties\Resources.Designer.cs">
  234. <AutoGen>True</AutoGen>
  235. <DesignTime>True</DesignTime>
  236. <DependentUpon>Resources.resx</DependentUpon>
  237. </Compile>
  238. <Compile Include="Properties\Settings.Designer.cs">
  239. <AutoGen>True</AutoGen>
  240. <DependentUpon>Settings.settings</DependentUpon>
  241. <DesignTimeSharedInput>True</DesignTimeSharedInput>
  242. </Compile>
  243. <EmbeddedResource Include="Properties\Resources.resx">
  244. <Generator>ResXFileCodeGenerator</Generator>
  245. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  246. </EmbeddedResource>
  247. <None Include="app.manifest" />
  248. <None Include="FFMpeg\ARIALUNI.7z" />
  249. <None Include="FFMpeg\ffmpeg-20130904-git-f974289-win32-static.7z" />
  250. <None Include="packages.config" />
  251. <None Include="Properties\Settings.settings">
  252. <Generator>SettingsSingleFileGenerator</Generator>
  253. <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  254. </None>
  255. <AppDesigner Include="Properties\" />
  256. <EmbeddedResource Include="Native\RegisterServer.bat" />
  257. </ItemGroup>
  258. <ItemGroup>
  259. <None Include="App.config">
  260. <SubType>Designer</SubType>
  261. </None>
  262. </ItemGroup>
  263. <ItemGroup>
  264. <ProjectReference Include="..\MediaBrowser.Api\MediaBrowser.Api.csproj">
  265. <Project>{4fd51ac5-2c16-4308-a993-c3a84f3b4582}</Project>
  266. <Name>MediaBrowser.Api</Name>
  267. </ProjectReference>
  268. <ProjectReference Include="..\MediaBrowser.Common.Implementations\MediaBrowser.Common.Implementations.csproj">
  269. <Project>{c4d2573a-3fd3-441f-81af-174ac4cd4e1d}</Project>
  270. <Name>MediaBrowser.Common.Implementations</Name>
  271. </ProjectReference>
  272. <ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj">
  273. <Project>{9142eefa-7570-41e1-bfcc-468bb571af2f}</Project>
  274. <Name>MediaBrowser.Common</Name>
  275. </ProjectReference>
  276. <ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj">
  277. <Project>{17e1f4e6-8abd-4fe5-9ecf-43d4b6087ba2}</Project>
  278. <Name>MediaBrowser.Controller</Name>
  279. </ProjectReference>
  280. <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj">
  281. <Project>{7eeeb4bb-f3e8-48fc-b4c5-70f0fff8329b}</Project>
  282. <Name>MediaBrowser.Model</Name>
  283. </ProjectReference>
  284. <ProjectReference Include="..\MediaBrowser.Providers\MediaBrowser.Providers.csproj">
  285. <Project>{442b5058-dcaf-4263-bb6a-f21e31120a1b}</Project>
  286. <Name>MediaBrowser.Providers</Name>
  287. </ProjectReference>
  288. <ProjectReference Include="..\MediaBrowser.Server.Implementations\MediaBrowser.Server.Implementations.csproj">
  289. <Project>{2e781478-814d-4a48-9d80-bff206441a65}</Project>
  290. <Name>MediaBrowser.Server.Implementations</Name>
  291. </ProjectReference>
  292. <ProjectReference Include="..\MediaBrowser.WebDashboard\MediaBrowser.WebDashboard.csproj">
  293. <Project>{5624b7b5-b5a7-41d8-9f10-cc5611109619}</Project>
  294. <Name>MediaBrowser.WebDashboard</Name>
  295. </ProjectReference>
  296. </ItemGroup>
  297. <ItemGroup>
  298. <Resource Include="Resources\Images\icon.ico" />
  299. </ItemGroup>
  300. <ItemGroup>
  301. <Resource Include="Resources\Images\folder.png" />
  302. </ItemGroup>
  303. <ItemGroup>
  304. <Resource Include="Resources\Images\movie.png" />
  305. </ItemGroup>
  306. <ItemGroup>
  307. <Resource Include="Resources\Images\series.png" />
  308. </ItemGroup>
  309. <ItemGroup>
  310. <Resource Include="Resources\Images\season.png" />
  311. </ItemGroup>
  312. <ItemGroup>
  313. <Resource Include="Resources\Images\episode.png" />
  314. </ItemGroup>
  315. <ItemGroup>
  316. <Resource Include="Resources\Images\audio.png" />
  317. </ItemGroup>
  318. <ItemGroup>
  319. <Resource Include="Resources\Images\artist.png" />
  320. </ItemGroup>
  321. <ItemGroup>
  322. <Resource Include="Resources\Images\persons.png" />
  323. </ItemGroup>
  324. <ItemGroup>
  325. <Resource Include="Resources\Images\album.png" />
  326. </ItemGroup>
  327. <ItemGroup>
  328. <Resource Include="Resources\Images\boxset.png" />
  329. </ItemGroup>
  330. <ItemGroup>
  331. <Resource Include="Resources\Images\trailer.png" />
  332. </ItemGroup>
  333. <ItemGroup>
  334. <Resource Include="Resources\Images\folder.jpg" />
  335. </ItemGroup>
  336. <ItemGroup>
  337. <BootstrapperPackage Include=".NETFramework,Version=v4.5">
  338. <Visible>False</Visible>
  339. <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
  340. <Install>true</Install>
  341. </BootstrapperPackage>
  342. <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
  343. <Visible>False</Visible>
  344. <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
  345. <Install>false</Install>
  346. </BootstrapperPackage>
  347. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  348. <Visible>False</Visible>
  349. <ProductName>.NET Framework 3.5 SP1</ProductName>
  350. <Install>false</Install>
  351. </BootstrapperPackage>
  352. <BootstrapperPackage Include="Microsoft.Visual.C++.10.0.x86">
  353. <Visible>False</Visible>
  354. <ProductName>Visual C++ 2010 Runtime Libraries %28x86%29</ProductName>
  355. <Install>true</Install>
  356. </BootstrapperPackage>
  357. </ItemGroup>
  358. <ItemGroup>
  359. <Resource Include="Resources\Images\mb3logo800.png" />
  360. </ItemGroup>
  361. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  362. <PropertyGroup>
  363. <PostBuildEvent>if $(ConfigurationName) == Release (
  364. rmdir "$(SolutionDir)..\Deploy\Server\System" /s /q
  365. mkdir "$(SolutionDir)..\Deploy\Server\System"
  366. rmdir "$(SolutionDir)..\Deploy\Server\Pismo" /s /q
  367. xcopy "$(TargetDir)$(TargetFileName)" "$(SolutionDir)..\Deploy\Server\System\" /y
  368. xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe.config" "$(SolutionDir)..\Deploy\Server\System\" /y
  369. xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
  370. xcopy "$(SolutionDir)Installation\MediaBrowser.InstallUtil.dll" "$(SolutionDir)..\Deploy\Server\System\" /y
  371. xcopy "$(SolutionDir)Installation\MediaBrowser.Updater.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
  372. mkdir "$(SolutionDir)..\Deploy\Server\System\swagger-ui"
  373. xcopy "$(TargetDir)swagger-ui" "$(SolutionDir)..\Deploy\Server\System\swagger-ui" /y /s
  374. xcopy "$(TargetDir)$(TargetFileName).config" "$(SolutionDir)..\Deploy\Server\System\" /y
  375. xcopy "$(TargetDir)*.dll" "$(SolutionDir)..\Deploy\Server\System" /y
  376. mkdir "$(SolutionDir)..\Deploy\Server\System\dashboard-ui"
  377. xcopy "$(TargetDir)dashboard-ui" "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" /y /s
  378. del "$(SolutionDir)..\Deploy\MBServer.zip"
  379. "$(SolutionDir)ThirdParty\7zip\7za" a -mx9 "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*"
  380. )</PostBuildEvent>
  381. </PropertyGroup>
  382. <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
  383. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  384. Other similar extension points exist, see Microsoft.Common.targets.
  385. <Target Name="BeforeBuild">
  386. </Target>
  387. <Target Name="AfterBuild">
  388. </Target>
  389. -->
  390. <Target Name="AfterBuild">
  391. <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
  392. <Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
  393. </GetAssemblyIdentity>
  394. <Exec Command="copy &quot;$(SolutionDir)..\Deploy\MBServer.zip&quot; &quot;$(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip&quot; /y" Condition="'$(ConfigurationName)' == 'Release'" />
  395. </Target>
  396. </Project>