未将活动解决方案配置配置为生成或部署Service Fabric应用程序项目 [英] The active solution configuration is not configured to build or deploy the Service Fabric Application Project
问题描述
我有一个包含多个服务的Service Fabric项目.当我尝试部署它时,出现以下错误:
I have a Service Fabric project with multiple services. When i try to deploy it, i get the following error:
未将活动解决方案配置配置为构建或部署 服务结构应用程序项目.如果 解决方案配置未配置为构建/部署x64 项目所需的平台.
The active solution configuration is not configured to build or deploy the Service Fabric Application Project. This can happen if the solution configuration is not configured to build/deploy the x64 platform which the project requires.
推荐答案
可能的原因1:
检入Configuration Manager
中要为项目设置的平台(x64
对于Service Fabric
是必需的).对我来说,这已经是正确的.
Possible cause 1:
Check in the Configuration Manager
for the proper platforms to be set for the projects(x64
is required for Service Fabric
). For me that was already correct.
可能的原因2:
仍在Configuration Manager
中,检查是否具有可以部署的多个项目上下文,并且未选中所有复选框.如果是,请选择要部署的项目,然后再次尝试部署.
Possible cause 2:
Still in Configuration Manager
, check if you have multiple Project contexts for which you can Deploy and all check boxes are unchecked. If yes, select the project you want to deploy and then try deploying again.
可能的原因3:
确保您已设置为Deploy的项目为Set As Startup Project(s)
.在Configuration Manager
中,此项目的Build和Deploy复选框已被选中.
Possible cause 3:
Make sure the project(s) you have set to Deploy is(are) Set As Startup Project(s)
. And in Configuration Manager
the checkboxes Build and Deploy are ticked for this project.
这篇关于未将活动解决方案配置配置为生成或部署Service Fabric应用程序项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!