Cannot add System.Web.dll reference

前端 未结 6 1831
礼貌的吻别
礼貌的吻别 2020-12-13 23:21

I\'m trying to use the HTTP functions contained in the System.Web.dll assembly. However, whilst the dll seems to exist in the same directory as every other dll Visual Studio

6条回答
  •  伪装坚强ぢ
    2020-12-14 00:01

    If you target .NET 3.5 or 4 client profile, you won't see ASP.NET assemblies.

    Besides, you should try to use HTTP classes in System.Net.

提交回复
热议问题