I am trying to deserialize and serialize JSON in a Lightswitch app, and in that procedure I need to use encoding. The problem is that after build I get this error :
'System.Text.Encoding.GetString(byte[])' is inaccessible due to its protection level
and this error also appear after build at [Serializable]
tag
The question is why? The reference System.Text
is already there and using namespace also...