Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No System.Web In VS2010

In a WPF project, I'm trying to add System.Web as a reference but in Project -> Add Reference -> .NET there's no System.Web.

alt text http://img580.imageshack.us/img580/3406/addreference.png

Any ideas?

Thanks.

like image 475
Alon Gubkin Avatar asked Apr 30 '10 22:04

Alon Gubkin


1 Answers

Are you targeting the client profile rather than the full version of the framework?

I think the default target type in VS2010 for client applications (WPF, WinForms etc) is the client profile, which doesn't include System.Web.

like image 101
LukeH Avatar answered Oct 11 '22 10:10

LukeH