Reputation: 3293
I am trying to deploy a new service in to my service fabric cluster
I am sure I have created this in the same way as my other services.
I have manually sorted out the ApplicationManifest file that seems fine
However, when I try to run the local dev cluster VS crashes out with powershell error
Register-ServiceFabricApplicationType : The BuildLayout of the application in
6>C:\SfDevCluster\Data\ImageBuilderProxy\AppType\Inspired.TradingPlatform.ServiceFabricType is invalid. Code is missing
6>for service Inspired.TradingPlatform.TrayportApi.Primary.ServiceFabricPkg.
6>At C:\Program Files\Microsoft SDKs\Service
6>Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:251 char:9
This error is really unhelpful, it doesnt tell me anything about what code is missing
The rest of the error is
Register-ServiceFabricApplicationType -ApplicationPathInImage ...
6> + CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-Servic
6> eFabricApplicationType], FabricException
6> + FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType
Upvotes: 2
Views: 1774
Reputation: 3293
@HiredMind thanks that was the issue! My project was preferring x32 and even when changed to x64 was just going to debug when it should have been debug\x64 Thanks!
Upvotes: 1