HttpContext not available in Class Library

后端 未结 3 780
忘了有多久
忘了有多久 2021-01-07 19:08

I am working on a project where I have a C# class library which needs to use the System.web.HttpContext. I\'ve done this before in another project without probl

3条回答
  •  爱一瞬间的悲伤
    2021-01-07 19:46

    This means that either you are using a Client Profile as the Target Framework or the reference to System.Web was not added correctly.

提交回复
热议问题