浏览代码

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)">
       <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
          <Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
          <Output TaskParameter="Assemblies" ItemName="CurrentAssembly" />
       </GetAssemblyIdentity>
       </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>
   </Target>
 </Project>
 </Project>