1
Vote

Error 1 The type or namespace name 'EnumMemberAttribute' does not exist in the namespace 'System.Runtime.Serialization' (are you missing an assembly reference?) ...\Methods\JSON

description

I am getting this error:

Error 1 The type or namespace name 'EnumMemberAttribute' does not exist in the namespace 'System.Runtime.Serialization' (are you missing an assembly reference?) c:\users\user\documents\visual studio 2012\Projects\ClassLibrary1\ClassLibrary1\Methods\JSONRPC.cs 20 46 ClassLibrary1

concerning this line of code:
   [global::System.Runtime.Serialization.EnumMember(Value="namespace")]
Making a comment out of it solved my problem :-)

comments