This project is read-only.

error in 'Fluent.Sample.Mvvm.exe' .... BindingExpression path error: 'Photo'

Oct 31, 2011 at 12:27 PM

Good morning!
I downloaded the code and running the project MVVM.
I have the following errror when running

'Fluent.Sample.Mvvm.exe' (Administrado (v4.0.30319)): se cargó 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', se omitió la carga de símbolos. Se optimizó el módulo y se habilitó la opción 'Solo mi código'.System.Windows.Data Error: 40 : BindingExpression path error: 'Photo' property not found on 'object' ''MainViewModel' (HashCode=20668333)'. BindingExpression:Path=Photo; DataItem='MainViewModel' (HashCode=20668333); target element is 'Image' (Name=''); target property is 'Source' (type 'ImageSource')

Thank you very much and best regards

Oct 31, 2011 at 2:28 PM


Hello again. Can it be that this wrong?
in Fluent.Sample.Mvvm.csproj and Window.xaml
<Image Source = "{Binding Photo}" (I think it gives the error)
it does not fail
{Binding Current.Photo

  Photo wrong. Current.Photo well

Try this I pull, but it will not = new BitmapImage (new Uri ("Images/blue2.png"UriKind.Relative));


Thank you very much and best regards