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

一个人想着一个人 提交于 2019-11-30 09:33:26

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/

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 have this happen at one point in my dev machine. All I did was to reinstall the Service Fabric SDK.

For cases when you can't install Service Fabric SDK on target environment there is an option to use Service Fabric REST API.

Here is my repo with API client written in C# which can resolve service using this API

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!