If you encounter a FabActUtil.exe error using the Service Fabric SDK. In the case when MS Build intends to create participants in the service structure using FabActUtil.exe with the target file, an error occurred from which FabActUtil.exe exited with code -1. The error can be fixed by changing the target file. The easiest approach is to use the target file of the old Service Fabric SDK.
If your solution is working fine so far, I think you have the Microsoft.ServiceFabric.Actors package in the package folder of your solution root.
If you do not have the package working properly, use this target Microsoft.ServiceFabric.Actors.2.2.207 file . This file has differences with the file that occurs at the points that copy and run and then delete FubActUtil.exe.
Target file:
%solution root%\packages\Microsoft.ServiceFabric.Actors.%version%\build\Microsoft.ServiceFabric.Actors.targets
and regardless of version.
source share