瀏覽代碼

Solution wouldn't build if path had spaces

The solution wouldn't build if you went into release and had spaces in
your solution directory.
ScottIsAFool 12 年之前
父節點
當前提交
e876e4b95a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj

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

@@ -436,6 +436,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="copy $(SolutionDir)..\Deploy\MBServer.zip  $(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip /y" Condition="'$(ConfigurationName)' == 'Release'" />
+    <Exec Command="copy &quot;$(SolutionDir)..\Deploy\MBServer.zip&quot;  &quot;$(SolutionDir)..\Deploy\MBServer_%(CurrentAssembly.Version).zip&quot; /y" Condition="'$(ConfigurationName)' == 'Release'" />
   </Target>
   </Target>
 </Project>
 </Project>