assembly: ContractNamespace() , this option is not available in AssemblyInfo.cs file?

207 Views Asked by At

I tried adding an assembly level contract namespace so that both the contracts one at service and one at client level are part of one namespace. In the AssemlbyInfo.cs file , [assembly: ContractNamespace()] option is not available. .Net framework is 4.0. What could be the reason for this ?

1

There are 1 best solutions below

0
On

The reference : using System.Runtime.Serialization was not included. Not a .Net framework issue. Silly Mistake:).