VS2017 update to 26403 causes Service Fabric issues -


yesterday updated vs2017 newly available update (now @ 26403.0 release). since doing have few service fabric problems:

  1. first, reverted service fabric core/sdk installations 5.5.216/2.5.216 5.4.145.9494/2.4.145.9494. noticed when opened solution , given warning:

requires sdk 2.5 or higher warning

this fixed installing latest core/sdk again webpi.

  1. using vs f5 build, able create cluster on default c drive , run application. however, use powershell command move d drive have more space. no longer works:

    & "c:\program files\microsoft sdks\service fabric\clustersetup\devclustersetup.ps1" -pathtoclusterdataroot d:\sfdevcluster\data -pathtoclusterlogroot d:\sfdevcluster\log -auto -createonenodecluster 

since update, error:

    cluster manifest validation failed exception system.argumentexception: error occurs in section diagnostics, parameter  system.fabric.management.servicemodel.settingsoverridestypesectionparameter. error message system.argumentexception: section diagnostics parameter enablecirculartracesession found in cluster manifest not configurations.csv in system.fabric.management.dll.    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings.mergeconfigurationsandclustermanifest(dictionary`2 configurations, dictionary`2 clustermanifest, boolean skipvalidation)    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings.mergeconfigurationsandclustermanifest(dictionary`2 configurations, dictionary`2 clustermanifest, boolean skipvalidation)    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings..ctor(clustermanifesttype manifest, boolean skipvalidation)    @ system.fabric.fabricdeployer.fabricvalidatorwrapper.validateandensuredefaultimagestore() test-servicefabricclustermanifest : cluster manifest validation failed exception system.argumentexception: error occurs in section diagnostics, parameter system.fabric.management.servicemodel.settingsoverridestypesectionparameter. error message system.argumentexception: section diagnostics parameter enablecirculartracesession found in cluster manifest not configurations.csv in system.fabric.management.dll.    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings.mergeconfigurationsandclustermanifest(dictionary`2 configurations, dictionary`2 clustermanifest, boolean skipvalidation)    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings.mergeconfigurationsandclustermanifest(dictionary`2 configurations, dictionary`2 clustermanifest, boolean skipvalidation)    @ system.fabric.management.windowsfabricvalidator.windowsfabricsettings..ctor(clustermanifesttype manifest, boolean skipvalidation)    @ system.fabric.fabricdeployer.fabricvalidatorwrapper.validateandensuredefaultimagestore()     @ c:\program files\microsoft sdks\service fabric\tools\scripts\clustersetuputilities.psm1:406 char:5     +     test-servicefabricclustermanifest -clustermanifestpath "$manifest ...     +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         + categoryinfo          : notspecified: (:) [test-servicefabricclustermanifest], clustermanifestvalidationexception         + fullyqualifiederrorid : testclustermanifesterrorid,microsoft.servicefabric.powershell.testclustermanifest 

also since update, getting runtime reference error when invoke method asp.net core stateless service calling sf stateful service. happens asp.net core project, web api 2 project have in same solution able call same stateful service method no problem. i'm not sure how related vs update, wasn't occurring pre-latest-update. projects in solution loaded newtonsoft.json 10.0.2 (latest), i'm not sure 10.0.0 being referred to. i'll investigate part more - thought may helpful if others have similar issues since updating vs.

    {"could not load file or assembly 'newtonsoft.json, version=10.0.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)":"newtonsoft.json, version=10.0.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed"} 

any appreciated!


Comments