How to reference assembly from web.config?

前端 未结 2 862
名媛妹妹
名媛妹妹 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:06

    If you are using Visual Studio, then you can do it by Right clicking your Project-> Add Reference->Under .NET tab you will find that assembly.

    How to add assembly reference via VS.

    Depending on the type of project i.e WebSite or WebApplication VS will either add an entry to web.config or add the dll to your bin folder.

    Now which one you need(2.0/3.5/4.0) depends on your application.

提交回复
热议问题