I've got a Client/Server wcf application
My executable doesn't define any ServiceContract, it doesn't even have a reference to System.ServiceModel (but instead has a reference to an assembly which contains the connection logic to the server)
I've another assembly, which is referenced by my exe, which contains a ServiceContract.
It used to work fine. Yesterday, I've played a lot with my project settings (partial trust, full trust, deployment settings, and so on) and now, each and every time I launch my client, I've got the following message box :
Microsoft WCF Service Host
The target assembly contains no service types.
You may need to adjust the Code Access Security policy of this assembly.
Then VS freezes for 1 minute, and eventually lets me debug my program as usual.
I've found a post on this problem, but the solution doesn't apply in my situation. Any ideas?