- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是 Azure 新手,想要使用 TFS 创建持续集成构建。我创建了一个构建定义,但使用构建定义中的托管构建服务器通过简单的网站构建我的云应用程序失败并出现错误:
C:\a\src\myAzure\myAzure\myAzure.ccproj (70): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Windows Azure Tools\2.0\Microsoft.WindowsAzure.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
但是,我可以在本地构建,然后手动发布到 Azure,它将正常部署。我怀疑TFS的托管构建服务器不支持Azure 2.0?有没有办法解决这个问题,还是我必须忘记使用 CI 的想法?
最佳答案
似乎确实如此,因为构建是 Team Foundation Service 的预览功能。 Azure SDK 1.8 也有同样的情况,但他们在几天内更新了构建服务器。希望这次不会花太长时间。
更新:“不,TF 服务托管的构建计算机目前没有新的 SDK 2.0。我们希望所有用户6 月 1 日后都能获得 Azure SDK 2.0 支持。在此期间,您将需要使用-prem 使用您需要的位构建 Controller 并从那里部署到 Azure。”(C) 特雷弗·汉考克,来自微软 http://social.msdn.microsoft.com/Forums/en-US/azuretfs/thread/2df796d5-1abb-4b89-a571-0b7a62b80d55
更新2:我已经成功使用 TFS 构建服务器和 SDK 2.0 成功完成了构建,所以我认为这个问题现在已经解决了。将来,我建议在 TFS 构建服务器准备就绪之前不要更新新版本的 Azure SDK。
关于Azure 构建失败,TFS 托管构建服务器 : Windows Azure Tools\2. 0\Microsoft.WindowsAzure.targets”未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16349228/
这两个程序集有什么区别以及何时应该使用它们?我发现它们之间存在类名冲突,所以我想我应该只使用一个。 示例 Microsoft.WindowsAzure.Storage 具有 Microsoft.Win
有一段时间,我在尝试使用 Azure 模拟器启动任何类型的应用程序时遇到以下错误: Microsoft Azure Tools: Method not found: 'Void Microsoft.W
我正在尝试使用队列,这是我遇到的异常: A first chance exception of type 'Microsoft.WindowsAzure.Storage.StorageExceptio
我使用的是 WindowsAzure.Storage 9.1.1。 它声明它依赖于 Newtonsoft >= 10.0.2 我使用的是 .NET Framework 4.5 我安装了 Newtons
我正在 Azure 数据工厂中运行自定义事件,当我尝试在 CloudAppendBlob 上工作时,会发生以下异常。看起来像是版本问题,但无法找到解决方法。我使用 Windows Azure Stor
我已连接到我的一个 WebRole 实例。但现在我能做什么呢?我启动服务器管理器并导航到角色 -> WebServer -> RD00123...,但我看到的似乎不是事件实例。当我单击“浏览网站”时,
我应该使用哪个版本的 WindowsAzure.Storage? https://www.nuget.org/packages/WindowsAzure.Storage/ 我有以下环境 - Micro
当我运行 Azure 项目时,我每 20 秒左右就会在输出中收到此消息: Microsoft.WindowsAzure.ServiceRuntime Verbose: 500 : Role insta
对 Azure SDK 各个部分的项目引用应该存在于 Azure SDK 的安装中,但由于某些奇怪的原因,我的代码(Azure 移动服务)无法再看到 Microsoft.WindowsAzure.Di
我正在尝试使用 Composer 安装 zendservice-windowsazure。我的composer.json 如下所示: { "repositories": [{
我正在努力连接我正在使用 ionic 框架制作的移动应用程序,并且正在努力将其连接到 Azure。 azure 网站说将以下代码行添加到我的 app.component.ts 中: declare v
目前我的应用程序使用 WindowsAzure.ServiceBus 2.8.2 包,我可以在 Fiddler 上检查是否存在到 https://{your-namespace}.accesscont
我需要导入 WindowsAzure 以在我的 ionic 项目中使用。 从“cordova-plugin-ms-azure-mobile-apps”导入 { WindowsAzure }; 无法导入
我无法在 Windows 通用应用程序中安装 NuGet 包。 我认为这可能是因为配置管理器与 Windows 通用应用程序不兼容,但现在我的 ServiceBus 包也遇到了同样的问题。 当我尝试通
我们目前正在尝试设置一个 Angular 2 项目,该项目的解决方案中还包含一个云服务项目。我们已经建立了许多包含云服务项目的 Angular 1 项目,并且没有出现任何错误。当尝试为 Angular
我有一个通过 git 部署的 Azure 网站设置,但是当我这样做时,我收到一个编译器错误,指出: D:\Windows\Microsoft.NET\Framework\v4.0.30319\Micr
我们的 azure 构建存在问题,只有在 csdef 文件的 WebRole/Contents/Content/SourceDirectory 部分中使用绝对路径才能使其正常工作。尽管它确实支持相对路
我有一个通过 git 部署的 Azure 网站设置,但是当我这样做时,我收到一个编译器错误,指出: D:\Windows\Microsoft.NET\Framework\v4.0.30319\Micr
我们的 azure 构建存在问题,只有在 csdef 文件的 WebRole/Contents/Content/SourceDirectory 部分中使用绝对路径才能使其正常工作。尽管它确实支持相对路
当我尝试将项目部署到云服务(使用持续部署和托管构建 Controller )时,我突然开始收到此错误。 C:\Program Files (x86)\MSBuild\Microsoft\VisualS
我是一名优秀的程序员,十分优秀!