我正在尝试在sql程序集中添加类库(c#)。此库正在使用“newtonsoft.json.dll”序列化对象。
当我尝试添加此库时,它抛出错误“assembly'xyz'references assembly'system.runtime.serialization,…”
CREATE ASSEMBLY System_Runtime_Serialization
FROM 'C:\Windows\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\System.Runtime.Serialization.dll'
WITH PERMISSION_SET = unsafe
GO
获取此错误:- Assembly 'System_Runtime_Serialization' could not be installed because existing policy would keep it from being used.
仅供参考,使用sql server 2017和.net framework 4.6.1
暂无答案!
目前还没有任何答案,快来回答吧!