MediaBrowser.ServerApplication.csproj 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  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.App</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="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
  123. <SpecificVersion>False</SpecificVersion>
  124. <HintPath>..\packages\DotNetZip.1.9.1.8\lib\net20\Ionic.Zip.dll</HintPath>
  125. </Reference>
  126. <Reference Include="MahApps.Metro">
  127. <HintPath>..\packages\MahApps.Metro.0.11.0.17-ALPHA\lib\net45\MahApps.Metro.dll</HintPath>
  128. </Reference>
  129. <Reference Include="MediaBrowser.IsoMounter, Version=1.0.4969.36586, Culture=neutral, processorArchitecture=MSIL">
  130. <SpecificVersion>False</SpecificVersion>
  131. <HintPath>..\packages\MediaBrowser.IsoMounting.3.0.56\lib\net45\MediaBrowser.IsoMounter.dll</HintPath>
  132. </Reference>
  133. <Reference Include="MoreLinq, Version=1.0.16006.0, Culture=neutral, PublicKeyToken=384d532d7e88985d, processorArchitecture=MSIL">
  134. <SpecificVersion>False</SpecificVersion>
  135. <HintPath>..\packages\morelinq.1.0.16006\lib\net35\MoreLinq.dll</HintPath>
  136. </Reference>
  137. <Reference Include="NLog, Version=2.0.1.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
  138. <SpecificVersion>False</SpecificVersion>
  139. <HintPath>..\packages\NLog.2.0.1.2\lib\net45\NLog.dll</HintPath>
  140. </Reference>
  141. <Reference Include="pfmclrapi, Version=0.0.0.0, Culture=neutral, processorArchitecture=x86">
  142. <SpecificVersion>False</SpecificVersion>
  143. <HintPath>..\packages\MediaBrowser.IsoMounting.3.0.56\lib\net45\pfmclrapi.dll</HintPath>
  144. </Reference>
  145. <Reference Include="ServiceStack, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
  146. <SpecificVersion>False</SpecificVersion>
  147. <HintPath>..\packages\ServiceStack.3.9.56\lib\net35\ServiceStack.dll</HintPath>
  148. </Reference>
  149. <Reference Include="ServiceStack.Common, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
  150. <SpecificVersion>False</SpecificVersion>
  151. <HintPath>..\packages\ServiceStack.Common.3.9.56\lib\net35\ServiceStack.Common.dll</HintPath>
  152. </Reference>
  153. <Reference Include="ServiceStack.Interfaces, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
  154. <SpecificVersion>False</SpecificVersion>
  155. <HintPath>..\packages\ServiceStack.Common.3.9.56\lib\net35\ServiceStack.Interfaces.dll</HintPath>
  156. </Reference>
  157. <Reference Include="ServiceStack.OrmLite.SqlServer">
  158. <HintPath>..\packages\ServiceStack.OrmLite.SqlServer.3.9.44\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
  159. </Reference>
  160. <Reference Include="ServiceStack.Redis">
  161. <HintPath>..\packages\ServiceStack.Redis.3.9.44\lib\net35\ServiceStack.Redis.dll</HintPath>
  162. </Reference>
  163. <Reference Include="ServiceStack.ServiceInterface, Version=3.9.56.0, Culture=neutral, processorArchitecture=MSIL">
  164. <SpecificVersion>False</SpecificVersion>
  165. <HintPath>..\packages\ServiceStack.3.9.56\lib\net35\ServiceStack.ServiceInterface.dll</HintPath>
  166. </Reference>
  167. <Reference Include="ServiceStack.Text, Version=3.9.55.0, Culture=neutral, processorArchitecture=MSIL">
  168. <SpecificVersion>False</SpecificVersion>
  169. <HintPath>..\packages\ServiceStack.Text.3.9.55\lib\net35\ServiceStack.Text.dll</HintPath>
  170. </Reference>
  171. <Reference Include="SimpleInjector, Version=2.3.0.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL">
  172. <SpecificVersion>False</SpecificVersion>
  173. <HintPath>..\packages\SimpleInjector.2.3.0\lib\net40-client\SimpleInjector.dll</HintPath>
  174. </Reference>
  175. <Reference Include="System" />
  176. <Reference Include="System.Data" />
  177. <Reference Include="System.Data.SQLite, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
  178. <SpecificVersion>False</SpecificVersion>
  179. <HintPath>..\packages\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.dll</HintPath>
  180. </Reference>
  181. <Reference Include="System.Data.SQLite.Linq, Version=1.0.88.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
  182. <SpecificVersion>False</SpecificVersion>
  183. <HintPath>..\packages\System.Data.SQLite.x86.1.0.88.0\lib\net45\System.Data.SQLite.Linq.dll</HintPath>
  184. </Reference>
  185. <Reference Include="System.Drawing" />
  186. <Reference Include="System.Net" />
  187. <Reference Include="System.Runtime.Remoting" />
  188. <Reference Include="System.Windows.Forms" />
  189. <Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  190. <HintPath>..\packages\MahApps.Metro.0.11.0.17-ALPHA\lib\net45\System.Windows.Interactivity.dll</HintPath>
  191. </Reference>
  192. <Reference Include="System.Xml" />
  193. <Reference Include="Microsoft.CSharp" />
  194. <Reference Include="System.Core" />
  195. <Reference Include="System.Data.DataSetExtensions" />
  196. <Reference Include="System.Xaml">
  197. <RequiredTargetFramework>4.0</RequiredTargetFramework>
  198. </Reference>
  199. <Reference Include="WindowsBase" />
  200. <Reference Include="PresentationCore" />
  201. <Reference Include="PresentationFramework" />
  202. </ItemGroup>
  203. <ItemGroup>
  204. <Compile Include="EntryPoints\StartupWizard.cs" />
  205. <Compile Include="EntryPoints\UdpServerEntryPoint.cs" />
  206. <Compile Include="Splash\SplashWindow.xaml.cs">
  207. <DependentUpon>SplashWindow.xaml</DependentUpon>
  208. </Compile>
  209. <Page Include="App.xaml">
  210. <Generator>MSBuild:Compile</Generator>
  211. <SubType>Designer</SubType>
  212. </Page>
  213. <Page Include="LibraryExplorer.xaml">
  214. <SubType>Designer</SubType>
  215. <Generator>MSBuild:Compile</Generator>
  216. </Page>
  217. <Page Include="Logging\LogWindow.xaml">
  218. <Generator>MSBuild:Compile</Generator>
  219. <SubType>Designer</SubType>
  220. </Page>
  221. <Page Include="MainWindow.xaml">
  222. <Generator>MSBuild:Compile</Generator>
  223. <SubType>Designer</SubType>
  224. </Page>
  225. <Compile Include="..\SharedVersion.cs">
  226. <Link>Properties\SharedVersion.cs</Link>
  227. </Compile>
  228. <Compile Include="App.xaml.cs">
  229. <DependentUpon>App.xaml</DependentUpon>
  230. <SubType>Code</SubType>
  231. </Compile>
  232. <Compile Include="ApplicationHost.cs" />
  233. <Compile Include="Implementations\DotNetZipClient.cs" />
  234. <Compile Include="LibraryExplorer.xaml.cs">
  235. <DependentUpon>LibraryExplorer.xaml</DependentUpon>
  236. </Compile>
  237. <Compile Include="Logging\LogWindow.xaml.cs">
  238. <DependentUpon>LogWindow.xaml</DependentUpon>
  239. </Compile>
  240. <Compile Include="Logging\WindowTraceListener.cs" />
  241. <Compile Include="MainWindow.xaml.cs">
  242. <DependentUpon>MainWindow.xaml</DependentUpon>
  243. <SubType>Code</SubType>
  244. </Compile>
  245. <Page Include="Splash\SplashWindow.xaml">
  246. <SubType>Designer</SubType>
  247. <Generator>MSBuild:Compile</Generator>
  248. </Page>
  249. </ItemGroup>
  250. <ItemGroup>
  251. <Compile Include="Properties\AssemblyInfo.cs">
  252. <SubType>Code</SubType>
  253. </Compile>
  254. <Compile Include="Properties\Resources.Designer.cs">
  255. <AutoGen>True</AutoGen>
  256. <DesignTime>True</DesignTime>
  257. <DependentUpon>Resources.resx</DependentUpon>
  258. </Compile>
  259. <Compile Include="Properties\Settings.Designer.cs">
  260. <AutoGen>True</AutoGen>
  261. <DependentUpon>Settings.settings</DependentUpon>
  262. <DesignTimeSharedInput>True</DesignTimeSharedInput>
  263. </Compile>
  264. <EmbeddedResource Include="Properties\Resources.resx">
  265. <Generator>ResXFileCodeGenerator</Generator>
  266. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  267. </EmbeddedResource>
  268. <None Include="app.manifest" />
  269. <None Include="packages.config" />
  270. <None Include="Properties\Settings.settings">
  271. <Generator>SettingsSingleFileGenerator</Generator>
  272. <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  273. </None>
  274. <AppDesigner Include="Properties\" />
  275. <EmbeddedResource Include="RegisterServer.bat" />
  276. </ItemGroup>
  277. <ItemGroup>
  278. <None Include="App.config">
  279. <SubType>Designer</SubType>
  280. </None>
  281. </ItemGroup>
  282. <ItemGroup>
  283. <ProjectReference Include="..\MediaBrowser.Api\MediaBrowser.Api.csproj">
  284. <Project>{4fd51ac5-2c16-4308-a993-c3a84f3b4582}</Project>
  285. <Name>MediaBrowser.Api</Name>
  286. </ProjectReference>
  287. <ProjectReference Include="..\MediaBrowser.Common.Implementations\MediaBrowser.Common.Implementations.csproj">
  288. <Project>{c4d2573a-3fd3-441f-81af-174ac4cd4e1d}</Project>
  289. <Name>MediaBrowser.Common.Implementations</Name>
  290. </ProjectReference>
  291. <ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj">
  292. <Project>{9142eefa-7570-41e1-bfcc-468bb571af2f}</Project>
  293. <Name>MediaBrowser.Common</Name>
  294. </ProjectReference>
  295. <ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj">
  296. <Project>{17e1f4e6-8abd-4fe5-9ecf-43d4b6087ba2}</Project>
  297. <Name>MediaBrowser.Controller</Name>
  298. </ProjectReference>
  299. <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj">
  300. <Project>{7eeeb4bb-f3e8-48fc-b4c5-70f0fff8329b}</Project>
  301. <Name>MediaBrowser.Model</Name>
  302. </ProjectReference>
  303. <ProjectReference Include="..\MediaBrowser.Providers\MediaBrowser.Providers.csproj">
  304. <Project>{442b5058-dcaf-4263-bb6a-f21e31120a1b}</Project>
  305. <Name>MediaBrowser.Providers</Name>
  306. </ProjectReference>
  307. <ProjectReference Include="..\MediaBrowser.Server.Implementations\MediaBrowser.Server.Implementations.csproj">
  308. <Project>{2e781478-814d-4a48-9d80-bff206441a65}</Project>
  309. <Name>MediaBrowser.Server.Implementations</Name>
  310. </ProjectReference>
  311. <ProjectReference Include="..\MediaBrowser.WebDashboard\MediaBrowser.WebDashboard.csproj">
  312. <Project>{5624b7b5-b5a7-41d8-9f10-cc5611109619}</Project>
  313. <Name>MediaBrowser.WebDashboard</Name>
  314. </ProjectReference>
  315. </ItemGroup>
  316. <ItemGroup>
  317. <Resource Include="Resources\Images\icon.ico" />
  318. </ItemGroup>
  319. <ItemGroup>
  320. <Resource Include="Resources\Images\folder.png" />
  321. </ItemGroup>
  322. <ItemGroup>
  323. <Resource Include="Resources\Images\movie.png" />
  324. </ItemGroup>
  325. <ItemGroup>
  326. <Resource Include="Resources\Images\series.png" />
  327. </ItemGroup>
  328. <ItemGroup>
  329. <Resource Include="Resources\Images\season.png" />
  330. </ItemGroup>
  331. <ItemGroup>
  332. <Resource Include="Resources\Images\episode.png" />
  333. </ItemGroup>
  334. <ItemGroup>
  335. <Resource Include="Resources\Images\audio.png" />
  336. </ItemGroup>
  337. <ItemGroup>
  338. <Resource Include="Resources\Images\starEmpty.png" />
  339. <Resource Include="Resources\Images\starFull.png" />
  340. <Resource Include="Resources\Images\starHalf.png" />
  341. </ItemGroup>
  342. <ItemGroup>
  343. <Resource Include="Resources\Images\artist.png" />
  344. </ItemGroup>
  345. <ItemGroup>
  346. <Resource Include="Resources\Images\persons.png" />
  347. </ItemGroup>
  348. <ItemGroup>
  349. <Resource Include="Resources\Images\album.png" />
  350. </ItemGroup>
  351. <ItemGroup>
  352. <Resource Include="Resources\Images\boxset.png" />
  353. </ItemGroup>
  354. <ItemGroup>
  355. <Resource Include="Resources\Images\trailer.png" />
  356. </ItemGroup>
  357. <ItemGroup>
  358. <Resource Include="Resources\Images\folder.jpg" />
  359. <Resource Include="Resources\Images\mblogoblackfull.png" />
  360. <Resource Include="Resources\Images\mblogowhitefull.png" />
  361. </ItemGroup>
  362. <ItemGroup>
  363. <BootstrapperPackage Include=".NETFramework,Version=v4.5">
  364. <Visible>False</Visible>
  365. <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
  366. <Install>true</Install>
  367. </BootstrapperPackage>
  368. <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
  369. <Visible>False</Visible>
  370. <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
  371. <Install>false</Install>
  372. </BootstrapperPackage>
  373. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  374. <Visible>False</Visible>
  375. <ProductName>.NET Framework 3.5 SP1</ProductName>
  376. <Install>false</Install>
  377. </BootstrapperPackage>
  378. <BootstrapperPackage Include="Microsoft.Visual.C++.10.0.x86">
  379. <Visible>False</Visible>
  380. <ProductName>Visual C++ 2010 Runtime Libraries %28x86%29</ProductName>
  381. <Install>true</Install>
  382. </BootstrapperPackage>
  383. </ItemGroup>
  384. <ItemGroup>
  385. <Resource Include="Resources\Images\mb3logo800.png" />
  386. </ItemGroup>
  387. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  388. <PropertyGroup>
  389. <PostBuildEvent>if $(ConfigurationName) == Release (
  390. rmdir "$(SolutionDir)..\Deploy\Server\System" /s /q
  391. mkdir "$(SolutionDir)..\Deploy\Server\System"
  392. rmdir "$(SolutionDir)..\Deploy\Server\Pismo" /s /q
  393. mkdir "$(SolutionDir)..\Deploy\Server\Pismo"
  394. xcopy "$(TargetDir)$(TargetFileName)" "$(SolutionDir)..\Deploy\Server\System\" /y
  395. xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe.config" "$(SolutionDir)..\Deploy\Server\System\" /y
  396. xcopy "$(SolutionDir)Installation\MediaBrowser.Uninstaller.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
  397. xcopy "$(SolutionDir)Installation\MediaBrowser.InstallUtil.dll" "$(SolutionDir)..\Deploy\Server\System\" /y
  398. xcopy "$(SolutionDir)Installation\MediaBrowser.Updater.exe" "$(SolutionDir)..\Deploy\Server\System\" /y
  399. //Pismo
  400. "$(SolutionDir)ThirdParty\7zip\7za" x "$(SolutionDir)ThirdParty\Pismo-Install\pfm-168-mediabrowser-win.zip" -o"$(SolutionDir)..\Deploy\Server\Pismo\" -y
  401. mkdir "$(SolutionDir)..\Deploy\Server\System\swagger-ui"
  402. xcopy "$(TargetDir)swagger-ui" "$(SolutionDir)..\Deploy\Server\System\swagger-ui" /y /s
  403. xcopy "$(TargetDir)$(TargetFileName).config" "$(SolutionDir)..\Deploy\Server\System\" /y
  404. xcopy "$(TargetDir)*.dll" "$(SolutionDir)..\Deploy\Server\System" /y
  405. mkdir "$(SolutionDir)..\Deploy\Server\System\dashboard-ui"
  406. xcopy "$(TargetDir)dashboard-ui" "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" /y /s
  407. del "$(SolutionDir)..\Deploy\MBServer.zip"
  408. "$(SolutionDir)ThirdParty\7zip\7za" a -tzip "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*"
  409. )</PostBuildEvent>
  410. </PropertyGroup>
  411. <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
  412. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  413. Other similar extension points exist, see Microsoft.Common.targets.
  414. <Target Name="BeforeBuild">
  415. </Target>
  416. <Target Name="AfterBuild">
  417. </Target>
  418. -->
  419. <Target Name="AfterBuild">
  420. <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
  421. <Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
  422. </GetAssemblyIdentity>
  423. <Exec Command="copy &quot;$(SolutionDir)..\Deploy\MBServer.zip&quot; &quot;$(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip&quot; /y" Condition="'$(ConfigurationName)' == 'Release'" />
  424. </Target>
  425. </Project>