INPC: dnxcore50 vs dnx451

Basically, I just cannot (well, I could not… see below) get the INotifyPropertyChanged / PropertyChanged thang to work using dnxcore50… but I can using dnx451. Now you might say that under Core, it never is going to work… but I can’t see a good reason why that is necessarily so.

Here is the dnxcore50/INPC combination not working – as I say there is the System.ComponentModel in DnxCore… but not one evidently that includes INPC:

Now, I change project.json to refer to Dnx451… and all is accepted in the code, and hovering points back to the right metadata:

Later…

Well, I couldn’t just let it lie could I? Browsing, I found this:


Fine, but it puzzles me that the package to include is System.ObjectModel, but it is still System.ComponentModel that is referenced in the code. But basically we’re working again. This implementation is obviously not finished, but that is not the aim of this:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s