CSLA 4.5.1 Alpha Basic Binding sample doesn't compile

CSLA 4.5.1 Alpha Basic Binding sample doesn't compile

Old forum URL: forums.lhotka.net/forums/t/11412.aspx


JonM posted on Wednesday, June 13, 2012

I'm getting error messages trying to run the BasicBinding sample.  Googling the errors makes me think there was some sort of breaking change in the RC and that this sample was for consumer preview maybe?

Here are the 3 errors. Note (I'm running Win8 Release Preview with VS 2012 Ultimate RC)

'Windows.UI.ViewManagement.ApplicationView' does not contain a definition for 'GetForCurrentView'
'ApplicationViewStateChangedEventArgs' could not be found (are you missing a using directive or an assembly reference?) 
'Windows.UI.ViewManagement.ApplicationView' does not contain a definition for 'GetForCurrentView'

JonnyBee replied on Wednesday, June 13, 2012

That's because Microsoft decided to make some braking changes in WinRT from Consumer Preview to Release Preview.

RockfordLhotka replied on Wednesday, June 13, 2012

This is correct, there are breaking changes.

Additionally, I wanted to get a working 4.5 build out for people to use, and didn't want to wait until we'd had time to go through all the samples, so the samples are generally untested at this point.

JonM replied on Friday, June 15, 2012

Ok.  Sounds good.  I'll just wait for a later release when I can see some samples.  It would be cool to see a blog post or something that a little demo of simple WinRT CSLA app with working business rules.

Copyright (c) Marimer LLC