Json issue

In my project: create a new xaml file in which I just deserialize → error
In a new project on the same machine: create a new xaml the same as above → works ok
I copy in the new project my files and dependencies → the xaml that worked before doesn’t work anymore…