At my wit's end with this one. My original goal is to display a WrapPanel populated with UserControls. Each control instance would display the image at some Url that was passed to it, and that image would be refreshed on a regular basis
using a timer. After reading up on the error message I was getting and being concerned that the threading involved in running a timer in a usercontrol created by my UI, a started a brand new project and kept things as simple as I could. The error
message I'm getting is as follows:
"A first chance exception of type 'System.Deployment.Application.InvalidDeploymentException' occurred in System.Deployment.dll"
It gets triggered by the line "myBitmapImage.EndInit();".
Here's the very simple XAML:
Title="MainWindow" Height="350" Width="525">
View Complete Post