MediaBrowser.ServerApplication.csproj 19 KB

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