소스 검색

chg afterbuild to copy to suppress error on rebuild

Eric Reed 12 년 전
부모
커밋
a556a8c1ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj

+ 1 - 1
MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj

@@ -406,6 +406,6 @@ del "$(SolutionDir)..\Deploy\MBServer.zip"
       <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
          <Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
       </GetAssemblyIdentity>
-      <Exec Command="ren $(SolutionDir)..\Deploy\MBServer.zip  MBServer_%(CurrentAssembly.Version).zip" Condition="'$(ConfigurationName)' == 'Release'"/>
+      <Exec Command="copy $(SolutionDir)..\Deploy\MBServer.zip  $(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip /y" Condition="'$(ConfigurationName)' == 'Release'"/>
   </Target>
 </Project>