tags:

views:

93

answers:

1

Hi

I just added System.Web reference to a dll assembly, the assembly is for windows applications and for web applications.

IF the assembly will be deployed on a server, System.Web will be shared using GAC, and there is no overhead.

But what about windows clients. I am wondering if there are extra resources or any kind of problems when System.Web is loaded into memory?

Thanks

+4  A: 

If the client only has the .Net Framework Client Profile installed. This could be a problem.

The Client Profile is the default installation on an end-user PC for .Net 4.

Normally Visual Studio is intelligent enough to warn you about this situation, but you need to set the "Target framework" to a "* Client profile" in the Properties of a project.

GvS