Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I would like to convert application wpf 3.5 to 4.5 frame work using visual studio.
Application is building successfully but( Xaml) design it showing error as below.
Thanks in advance
System.ArgumentException
'{DependencyProperty.UnsetValue}' is not a valid value for the 'System.Windows.Controls.Image.Source' property on a Setter.

Server stack trace: 
   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)
Posted
Updated 30-Mar-15 9:39am
v2
Comments
Sergey Alexandrovich Kryukov 30-Mar-15 15:10pm    
Isn't obvious that if you use image source, it should be set? go directly to this image and set its source to whatever you need.
—SA
George Swan 30-Mar-15 15:41pm    
Have you checked that the image file's build property is set to 'Resource'?
karthikchinnu 30-Mar-15 17:39pm    
Yes it was set to buildAction:Resource

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900