Azure Service Fabric missing DLL on production server: FabricCommon.dll

I have this happen at one point in my dev machine. All I did was to reinstall the Service Fabric SDK.


Add the following Service Fabric bin path to your PATH environment variable:

set PATH=%PATH%;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code 

Also set execution policy to unrestricted:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser 

I had the same issue. Reboot my machine solved the issue.


I think you need to install Service Fabric SDK on the web server.

See the link below: https://azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/