Tips for using Service Fabric SDK #1

・If you encountered to error of FabActUtil.exe using the Service Fabric SDK

In case that when the MS Build intends to build service fabric actors using FabActUtil.exe with target file, and the error occurred that FabActUtil.exe exited with code -1. The error can be fixed by changing the target file. Most simple approach is using the target file of old version of the Service Fabric SDK. If your solution run normal so far, I think you have some versions of Microsoft.ServiceFabric.Actors package in the packages folder of your solution’s root.

If you don’t have any package running normal, use this target file of Microsoft.ServiceFabric.Actors.2.2.207. This file has differences with the file which error occurs, at the points of bellow.

The target file is pleased at %solution root%\packages\Microsoft.ServiceFabric.Actors.%version%\build\Microsoft.ServiceFabric.Actors.targets and independent with version number.

About takao