The active solution configuration is not configured to build or deploy the Service Fabric Application Project

扶醉桌前 提交于 2019-12-23 07:28:20

问题


I have a Service Fabric project with multiple services. When i try to deploy it, i get the following error:

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:


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.

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.

Possible cause 3: Make sure the project(s) you have set to Deploy is(are) Set As Startup Project(s).




回答2:


The Service Fabric project has to be set as startup project and it's configuration has to look like below: Service Fabric project(right click) >>> Properties >>> Configuration Manager



来源:https://stackoverflow.com/questions/48118175/the-active-solution-configuration-is-not-configured-to-build-or-deploy-the-servi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!