How Add System.Web Reference To A Windows Form Application

左心房为你撑大大i 提交于 2019-12-06 04:06:02

问题


I want to use HttpUtility.UrlEncode in a windows form application,
but i can not find System.Web in .NET (Add Reference) area!
How can i add this assembly to my project?
i am using .net 4...

thanks in advance


回答1:


Right click on a project -> Properties -> Change Target Framework from .Net Framework 4 Client Profile to .Net Framework 4

When you remove a Client Profile restriction, you will see System.Web in .Net (Add Reference) area.



来源:https://stackoverflow.com/questions/13668537/how-add-system-web-reference-to-a-windows-form-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!