I'm aware of the drawbacks of simply adding WCF service references (later I intend to create client proxies another way), but for now I need to add a service reference to a Silverlight assembly but the config to the main UI assembly so that it will be packaged into the .xap
file. Is there an easy way to do this?
vorrtex in the comments turns out to be right. I lost sight of that solution after a bit of experimentation. I had also forgotten to mention that I was using the xml transformation tasks in the .csproj
file.
My final solution is this: