The type [nameHere] registered for extension '[extensionHere]' could not be loaded

半世苍凉 提交于 2019-12-02 23:32:13

Is the dll (RivWorks.Web.Service.dll) in the build output?

Next, try (for the "jsonpMessageEncoding" extension):

type="RivWorks.Web.Service.JSONP.JsonpBindingExtension, RivWorks.Web.Service, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"

Note the different spacing both in terms of " , " and carriage returns.

After that, I would treble check the string. Write a console exe that references the dll you need (RivWorks.Web.Service), and output:

Console.WriteLine(
     typeof(RivWorks.Web.Service.JSONP.JsonpBindingExtension)
     .AssemblyQualifiedName);

That is the string you want in the xml, verbatim. Don't include any extra whitespace in this string.

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