2

I tried publishing the Service fabric application from Visual studio to remote VM, but it didn't work. Is it possible to deploy the service fabric app from the visual studio to a remote VM? If yes please let me know.

1 Answers1

0

Manually edit the publishprofile xml file:

<ClusterConnectionParameters
ConnectionEndpoint="yourcluster:19000"
X509Credential="true"
ServerCertThumbprint="0123456789012345678901234567890123456789"
FindType="FindByThumbprint"
FindValue="9876543210987654321098765432109876543210"
StoreLocation="CurrentUser"
StoreName="My" />

Change the value of yourcluster into the machine name or IP of the VM. Change the thumbprint to match your cluster cert.

  • Make sure to install the cluster certificate on your local machine too.
LoekD
  • 11,402
  • 17
  • 27