Question

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.

Was it helpful?

Solution

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.

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