Search code examples
visual-studiovisual-studio-2017azure-service-fabric

Cannot deploy Service Fabric application to dev/local cluster


VS 2017, attempting to deploy an application to my local/dev Service Fabric cluster, I get this message:

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 this project requires. An attempt will be made to debug launch the project. The application on the cluster, if it exists, may not be up-to-date with the source code since the project was not built and deployed. Do you want to continue?

This asks the same question, but none of the proposed solutions work for me: The active solution configuration is not configured to build or deploy the Service Fabric Application Project

My solution config is:enter image description here

  • ClientLib isn't deployed
  • Fabric is the actual SF application
  • The last two are a WebApi and a stateless service, respectively.

In addition, I've gone back to all other libraries (pulled in as Nuget packages), changed them to x64, redeployed, and updated this SF solution to the latest.

Still get the prompt. Any suggestions on what other solutions to explore?

Initially, the site would push to the cluster and hit breakpoints. It seems to have regressed and won't push the application at all.


Solution

  • Posting this comment as answer.


    Can you check the 'Build' checkbox for OptOutLinks.Fabric project?