I had the same netstandard error with a xaml file that reads Excel via ExcelProcessScope, nothing special in it. I copied the xaml from another project where it was working just fine but in the new project to where I copied it, I got the error.
I resolved the error by removing unused imports from the xaml file.
Hopefully this helps someone who’s struggling with this!