title: Code is missing for service error Service Fabric
body: <p>I am trying to deploy a new service in to my service fabric cluster</p>
  
  <p>I am sure I have created this in the same way as my other services.</p>
  
  <p>I have manually sorted out the ApplicationManifest file that seems fine</p>
  
  <p>However, when I try to run the local dev cluster VS crashes out with powershell error</p>
  
  <pre><code>Register-ServiceFabricApplicationType : The BuildLayout of the application in 
  6&gt;C:\SfDevCluster\Data\ImageBuilderProxy\AppType\Inspired.TradingPlatform.ServiceFabricType is invalid. Code is missing 
  6&gt;for service Inspired.TradingPlatform.TrayportApi.Primary.ServiceFabricPkg.
  6&gt;At C:\Program Files\Microsoft SDKs\Service 
  6&gt;Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:251 char:9
  </code></pre>
  
  <p>This error is really unhelpful, it doesnt tell me anything about what code is missing</p>
  
  <p>The rest of the error is</p>
  
  <pre><code>   Register-ServiceFabricApplicationType -ApplicationPathInImage ...
  6&gt;    + CategoryInfo          : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-Servic 
  6&gt;   eFabricApplicationType], FabricException
  6&gt;    + FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType
  </code></pre>