При апдейте выдает такое сообщение:
The default service description for 'fabric:/TargetScanner/TargetScannerWeb' was modified as part of upgrade, which is not allowed. TargetReplicaSetSize has changed from '1' to '-1'. To allow the modification, set EnableDefaultServicesUpgrade to true following
Note, at the start of the application upgrade, there may be three descriptions of a default service: (1) the description with which it was last created (2) the description with which it is currently running, which could diverge from (1) because of Update-ServiceFabricService API call and (3) the description in the target manifest.
This error is about the difference between the descriptions (1) and (3). For more details, refer to
Unregister application type '@{FabricNamespace=fabric:; ApplicationTypeName=TargetScannerType; ApplicationTypeVersion=1.0.0}.ApplicationTypeName' and version '@{FabricNamespace=fabric:; ApplicationTypeName=TargetScannerType; ApplicationTypeVersion=1.0.0}.ApplicationTypeVersion' ...
Странно то, что в апдейт TargetScannerWeb не входит от слова совсем, я в этом проекте ничего не менял, и в честь чего Powershell полез чего-то там менять в нем я не понимаю. А во вторых, нигде в Xml файлах при первоначальном деплое нет свойства TargetReplicaSetSize. В апдейте тоже нигде не указана TargetReplicaSetSize. Пробовал перед апдейтом накатить скрипт отсюда (
с явным указанием InstanceCount пофигу