WPF Xaml Designer is getting Out Of Memory due to Embedded Resources in the ModelVIew

So I had this problem for a while, and the only way to go around is to change the build action of the embedded resources to none then build the MV. After that, I build the View and it works like a charm. However If the resources build action is embedded, the View build with no problem, but the designer Xaml throws out of memory exception and does not load. Has anyone experienced these issues? Any real fix, besides changing the build action of the resources to none?


Set the "Build Action" to "Content".

Indeed, if you set Build Action to resources, it will be embedded resource in an assembly, but if you set Build Action to content then it will be provided in the resulting file .xap, in this cas you can get you resource like: "/Resources/myResource.xyz".

hope it helps

Need Your Help

How Do I Get Rid of the Progress Indicator for RemoteInput Notifications on Android N?

android android-7.0-nougat

I used RemoteInput to allow the user to enter some text as part of a Notification on N Developer Preview 1. It worked, but when the user pressed the "send" button, an indefinite progress indicator

Unable to install opencv 3.1 with python 3.5, works with 2.7 only

python linux opencv ubuntu python-3.5

Today I installed python 3.5.1 with miniconda on ubuntu 15.10, it works fine. I tried to install opencv 3, so I completed task 1, and 2 from this site https://help.ubuntu.com/community/OpenCV