How to reference assembly from web.config?

前端 未结 2 897
名媛妹妹
名媛妹妹 2021-01-22 13:23

I need to add reference to \'System.XML.dll\' assembly into web.config (in order to try solution for problem, mentioned here: Problem with Extension method: IXmlLineInfo).

2条回答
  •  感动是毒
    2021-01-22 14:07

    Try 'gacutil /l', and make sure you put in your web.config the one you really want to reference, depending on the target .NET release (e.g., 3.5, 4.0, etc). (In code terms, make sure you can load the assembly through Assembly.Load().)

提交回复
热议问题