Running a Windows 8.1 application built on Windows 10 with VS 2015

Built on Windows 10 with VS 2015, our (managed) Windows 8.1 Store app crashes on startup with an odd XAML parsing error on Windows 8.1 devices (no stack trace or source file just caught in an unhandled exception handler, so no debugging capability ):

The XBF metadata property list could not be deserialized because "HorizontalContentAlignment" was not found on type "null".

Additional Information:

  • Built on Windows 8.1 with VS 2015, the app will work correctly
  • The app will work correctly on Windows 10 devices
  • App downloads on Windows 8.1 devices

As for the Visual Studio 2015 Compatibility Guide , the script must be supported. Has anyone already experienced the same problem and overcame it?

+3


source to share


1 answer


I usually trace such critical errors into style or template resource files, and as you point out, I don't find Visual Studio as useful as it should. If you check in style or template files (e.g. generic.xaml or your own style style files, etc.), and if some things are missing, Visual Studio usually denotes it with blue wavy underscore (I must say this is not always exactly, but 90% in my guststimate).



This may not be the answer, but my experience with XAML error parsing, which provides no clues.

0


source







All Articles