Azure功能,nuget包安装在西欧地区失败

时间:2017-10-18 04:47:36

标签: azure azure-functions

我试图在西欧地区的天蓝色功能中使用NuGet 我无法安装包。
原因是"用户名或密码不正确"。
但北欧地区取得了成功 我认为这是西欧地区的问题。

我创建了一个TimerTrigger(C#) 上传project.json文件

{
    "frameworks": {
        "net46":{
            "dependencies": {
                "Microsoft.ApplicationInsights": "2.1.0"
                }
            }
        }
}


日志

2017-10-17T15:11:11 Welcome, you are now connected to log-streaming service.
2017-10-17T15:11:35.816 Package references have been updated.
2017-10-17T15:11:35.816 Restoring packages.
2017-10-17T15:11:35.816 Starting NuGet restore
2017-10-17T15:11:37.535 Restoring packages for D:\home\site\wwwroot\TimerTriggerCSharp1\project.json...
2017-10-17T15:11:37.914 GET https://api.nuget.org/v3-flatcontainer/microsoft.applicationinsights/index.json
2017-10-17T15:11:38.558 OK https://api.nuget.org/v3-flatcontainer/microsoft.applicationinsights/index.json 622ms
2017-10-17T15:11:38.587 GET https://api.nuget.org/v3-flatcontainer/microsoft.applicationinsights/2.1.0/microsoft.applicationinsights.2.1.0.nupkg
2017-10-17T15:11:38.606 OK https://api.nuget.org/v3-flatcontainer/microsoft.applicationinsights/2.1.0/microsoft.applicationinsights.2.1.0.nupkg 18ms
2017-10-17T15:11:38.868 Installing Microsoft.ApplicationInsights 2.1.0.
2017-10-17T15:11:41.577 The user name or password is incorrect.
2017-10-17T15:11:41.577 
2017-10-17T15:11:41.577 
2017-10-17T15:11:41.596 Packages restored.

0 个答案:

没有答案