why open xaml in VS2015,show BadImageFormatException: Index not found

Occasional Contributor

open xaml file in VS2015 profectional,show BadImageFormatException: Index not found. 



But Rebuild this project no any error.


Open this xaml file in another computer with VS2015 community ,can show the window correctly.





2 Replies

Try changing the project to x86.

Hi @hpxwj,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang