Matthew Belk
Matthew Belk

Reputation: 1924

Why does deploying a .NET Compact Framework assembly cause .NET Desktop Framework assemblies to be deployed?

I am trying to get one of my developers set up to work on a fairly large .NETCF project. When we try to simply deploy the solution and all of its projects to a target device, deploying one of the projects triggers several assemblies from the desktop framework to be copied from the GAC to the device. What on earth could cause this? The assemblies from the "big" framework are ones like System.DirectoryServices, System.Design, and a bunch of others.

Upvotes: 1

Views: 190

Answers (1)

ctacke
ctacke

Reputation: 67188

What causes it is ennoneously adding a reference to a desktop assembly (either directly or by referencing another component that does). Make certain that all of your references (including mscorlib, etc) are pointing to CF assemblies.

Upvotes: 1

Related Questions