-1

I,m trying to deploy Service Fabric application and package it in order to publish it on a server. I Right-Clicked on project in solution Explorer and clicked on Package but there is nothing in ...\pkg\Release but a ApplicationManifest.xml File. And also I get the Error The PowerShell script failed to execute:

Test-ServiceFabricApplicationPackage

on Release or Publish deploy mode.

behzad chhizari
  • 134
  • 1
  • 9
  • What's the full error log. – Mardoxx Apr 16 '17 at 14:23
  • Is your application project referencing any service projects? Can you F5 your application? – Matt Thalman Apr 17 '17 at 13:30
  • The PowerShell script failed to execute. See the Output window for Details. +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CategoryInfo : InvalidOperation: (:) [Test-ServiceFabricApplicationPackage], FabricImageBuilderValidati onException + FullyQualifiedErrorId : TestApplicationPackageErrorId,Microsoft.ServiceFabric.Powershell.TestApplicationPackage – behzad chhizari Apr 18 '17 at 04:21
  • I can Run the service But not publish it on cluster – behzad chhizari Apr 18 '17 at 04:23

1 Answers1

0

Make sure you have services referenced in your application:

enter image description here

Or your service projects failed to build. Go through your build output and see if anything failed.

Vaclav Turecek
  • 9,020
  • 24
  • 29