diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-17 16:35:08 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-17 16:35:08 -0500 |
| commit | 1a9e2dfd83dbab2e9a5f277229c5994253fd8a9a (patch) | |
| tree | 157ac5c2ee2e226560d04d61fef79445b23c231d /MediaBrowser.ServerApplication | |
| parent | 4ebba2b2e87e33f083c095957a2294b6f8ae3828 (diff) | |
fixed themoviedb search returning no results
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj index 928b7e387..5395167b9 100644 --- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj +++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj @@ -210,6 +210,31 @@ </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.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 +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 + +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\dashboard-ui" +xcopy "$(TargetDir)dashboard-ui" "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" /y /s + +del "$(SolutionDir)..\Deploy\MBServer.zip" +"$(SolutionDir)ThirdParty\7zip\7za" a -mx9 "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*" +)</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"> @@ -217,4 +242,10 @@ <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>
\ No newline at end of file |
