安装最新的Service Fabric SDK后,VSTS上的持续集成中断

时间:2016-06-16 12:01:42

标签: azure-service-fabric

我已经按照此处描述的类似方式配置了我的VSTS连续集成:https://azure.microsoft.com/pl-pl/documentation/articles/service-fabric-set-up-continuous-integration/。不幸的是,在安装了最新版本的Azure Service Fabric SDK 2.1.150之后,我的#34; Build"一步停止工作。我收到以下错误:

new A(0)

从我所看到的,在项目迁移到最新版本期间,对* .sfproj文件进行了以下更改:

  • 为Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.1.0添加了项目导入
  • 添加了以下项目: The OutputPath property is not set for project 'ServiceFabricProjectName.sfproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Release' Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project.
  • 添加了几个其他项目导入。其中一个是来自Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.1.0包的目标。

奇怪的是,当我登录构建代理虚拟机时,从C:\ agent_work \ 1 \ s \ ProjectName在Visual Studio中运行解决方案,并将构建配置更改为Release | x64,我能够构建它。当我禁用" git clean -fdx"在VSTS中,所有后续CI构建都将成功。它看起来很奇怪,使用以前版本的Service Fabric SDK一切正常。

是否有人观察到类似的问题?

1 个答案:

答案 0 :(得分:0)

我已经在任何SF项目中找到了这个项目,而项目并不是立即解决方案。在fsproj的msbuild bug中我也说