0

I convert a C # WPF application to ASP.Net core MVC. In my model, I have this:

private BitmapImage picture;

[NotMapped]
public BitmapImage Picture
{
    get { return picture; }
    set
    {
        picture = value;
        NotifyPropertyChange();
        NotifyPropertyChange(nameof(CanViewPicture));
    }
}

But BitmapImage is not recognized, and I can not find the equivalent reference to PresentationCore.dll (framework 4.6.1) of the WPF project, to use BitmapImage. (using System.Windows.Media.Imaging;)

Someone knows, please?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.