fly 9 月之前
父節點
當前提交
e397c0f69e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Publish.ps1

+ 2 - 2
Publish.ps1

@@ -13,10 +13,10 @@ Function BuildService($serviceName, $copyDll, $copyXml=0, $servicePath='', $copy
     nuget restore "$servicePath/$serviceName.csproj" -source "http://nuget.ius.plus:88/v3/index.json;https://nuget.cdn.azure.cn/v3/index.json"
     if($serviceName -eq "WingCloudServer")
     {
-        dotnet publish "$servicePath/$serviceName.csproj" -c Debug -o $copyDest
+        dotnet publish "$servicePath/$serviceName.csproj" -c Debug -o $copyDest  --source "http://nuget.ius.plus:88/v3/index.json;https://nuget.cdn.azure.cn/v3/index.json"
     }
     else {
-        dotnet publish "$servicePath/$serviceName.csproj" -c Debug
+        dotnet publish "$servicePath/$serviceName.csproj" -c Debug  --source "http://nuget.ius.plus:88/v3/index.json;https://nuget.cdn.azure.cn/v3/index.json"
     }
     if($copyDll -eq 1)
     {