Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top