How can I reference a dll in the GAC from Visual Studio?

前端 未结 10 915
你的背包
你的背包 2020-12-02 10:20

This assembly is in the GAC: Microsoft.SqlServer.Management.RegisteredServers.dll

How can I add a reference to this assembly in Visual Studio?

I can view the

10条回答
  •  佛祖请我去吃肉
    2020-12-02 11:16

    The only way that worked for me, is by copying the dll into your desktop or something, add reference to it, then delete the dll from your desktop. Visual Studio will refresh itself, and will finally reference the dll from the GAC on itself.

提交回复
热议问题