Thursday, April 7, 2011

Visual C# 2010 Express (System.Web Namespace not found)

When you created a winforms project and you would like to use HttpUtilities or other classes found on System.Web, you might notice that when you tried adding reference to System.Web, it is not found on the .NET Tab.

By default, the project is targeted on .NET Compact framework 4.0, so just change it to .NET Framework 4.0. By then,you will be able to add the System.Web namespace in your projects.

Cheers

0 comments:

Post a Comment