There are existing http://schemas.microsoft.com/winfx/2006/xaml/presentation
that you cant add the VisualStateGroup
If you write the xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
in the xmlns ,it will say the error.
But if some time the vs have not clean the Bin folder and Obj folder,there may be strange problems.
I think you can be fisrt check the nuget to found the merge and the second way is to clean the bin folder and obj folder.
Try update the vs may be solve it.
And you should right the file to view its property that the Compile options is right.
See:How to fix Error: "Could not find schema information for the attribute/element" by creating schema
https://stackoverflow.com/a/14965640/6116637