HttpUtility.UrlEncode in console application

后端 未结 7 1800
长情又很酷
长情又很酷 2021-02-03 21:45

I\'d like to use HttpUtility.UrlEncode in a console application, VB.NET, VS 2010 Beta 2.

System.Web.HttpUtility.UrlEncode(item)

Error message:

相关标签:
7条回答
  • 2021-02-03 22:15

    Make sure your target framework is ".NET Framework 4" not ".NET Framework 4 Client Profile".

    0 讨论(0)
提交回复
热议问题