|
@@ -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)
|
|
|
{
|