从源代码管理Azure的部署网站上失败的NuGet依赖

从源代码管理Azure的部署网站上失败的NuGet依赖

本文介绍了从源代码管理Azure的部署网站上失败的NuGet依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Asp.Net V4 Web表单应用程序对Windows.Azure.Storage的依赖。如果我使用WebDeploy将其部署到Azure的网站这一切工作正常。

现在我想使用了分公司,在我的到位桶回购有它自动从源代码控制部署。

我设立的分公司,联系天青,然后引发了部署。

但它失败了,这是在Azure的日志...

Nuget has package restore enabled, and i checked nuget.targets to ensure that DownloadNugetExe condition is set to true.

Why is it failing to pull in the nuget dependencies?

解决方案

I have just tried out creating a MVC4 app in VS2012 referencing Windows.Azure.Storage nuget package and succesfuuly pushed it from local git to windows azure without any issues.

I did not hit this issue. I have enabled nuget package restore and also included a .gitignore in to my git repo not to push binary and package files.

I also saw this with pushing the repo to WAWS.

remote: Successfully installed 'WindowsAzure.Storage 2.0.5.1'.

这篇关于从源代码管理Azure的部署网站上失败的NuGet依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:12