How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?

Hi,

While building blink code on the NRF5340DK, I get an error "Invalid type definition: Cannot set properties of null (setting 'name')" like this in visual studio.

Could you please help me to resolve this?

Thank you 

Regards,

Vrinda R

Related