Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top