chittal Chavan

chittal Chavan

  • NA
  • 11
  • 429

Error on DTO file for Serializing field

May 30 2023 5:56 AM

I have TestDTO.cs file inside this file, i have 5 field added as string and serialized that field. then one method created that method getting the called this DTO values. i have now new requirement is added more three fieled in that TestDTO.cs. But now if i add the fields in my class file. i am getting getting error as below:

<pre>Error in line 1 position 276. 'Element' 'additionalLimitAmountField' from namespace is not expected. Expecting element '_x003C_ClassTest_x003E_k__BackingField'.</pre>

can someone facing this type of issue in the code. so anyone can provide help, tell me how to get one.


Answers (2)