A first chance exception occurred… and I don't know why

ぐ巨炮叔叔 提交于 2019-12-04 20:53:38

Why it happened:

I had an image that was used in MainPage.xaml. This image's source's Copy to Output directory property was set to Do not copy, and as a result, the image failed to load and the app crashed.

How to Fix It:

Change the image in question's source's Copy to Output directory property to Copy Always from Do not copy.

How it can be prevented:

Don't fiddle with my image's Copy to Output directory properties.

...and what caused the System.OverflowException:

My low disk space [I think] is what is causing the System.OverflowExceptions, because these continued to pop up in my Output window after I fixed the problem. Read up on System.OverflowExceptions here.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!