views:

20

answers:

1

I am creating a test app that will work with query string values. I want to use the HttpUtility.UrlDecode.

When I try to add a refernce to the System.Web, System.Web is not availble in the list.

When I create a web project in the same solution, System.Web is automatically added.

I also tried referencing the web project from the winforms project, but that does not seem to work.

Does anyone know how I can use UrlDecode from a winforms app?

+1  A: 

This probably because you are targeting the Client Profile. Try changing to the full .NET Framework and you will be able to reference System.Web:

alt text

Darin Dimitrov
Thanks, that was it (PS have to wait 9 mins to accept the answer)
Shiraz Bhaiji