我已经按照此处描述的类似方式配置了我的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文件进行了以下更改:
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.
奇怪的是,当我登录构建代理虚拟机时,从C:\ agent_work \ 1 \ s \ ProjectName在Visual Studio中运行解决方案,并将构建配置更改为Release | x64,我能够构建它。当我禁用" git clean -fdx"在VSTS中,所有后续CI构建都将成功。它看起来很奇怪,使用以前版本的Service Fabric SDK一切正常。
是否有人观察到类似的问题?
答案 0 :(得分:0)
我已经在任何SF项目中找到了这个项目,而项目并不是立即解决方案。在fsproj的msbuild bug中我也说