ContactManager application missing 'Item' field
The Contact Manager project won't compile because it is expecting a private field named Item in the TContactDetailsViewModel class.
The project won't compile as a result.
Comments (8)
-
Account Deleted -
Account Deleted I'm using the master branch.
-
repo owner Just so you know - master branch is taboo for any commits
Also the bug only seems to be on your side. I can compile and run it just fine in master and develop (develop just has a minor bug with displaying string values as it quotes them always)
-
Account Deleted Understood -- but I presume it should compile, right?
Nick
-
repo owner It does compile.
-
Account Deleted I remember having issues with the
TEditableViewModelBase
not compiling all inmaster
using Delphi XE4 or XE5. But the MVVM code and demos are being reworked in theCaliburn
branch so that's the branch you are looking for. TheMVVM
subdirectory is still there, but the new demos are under thePresentationModel
subdirectory. -
Account Deleted Hmm -- I had to add
private Item: TContact;
to get it to compile....
NIck
-
Account Deleted Well probably speaking out of turn here (apologies), but I had no problems compiling/running the ContactManager Sample using Delphi XE (Update 1). Could this be a version specific problem of some sort? Nonetheless, also note that "Item" is inherited from TEditableViewModelBase (located in unit DSharp.PresentationModel.EditableViewModelBase) , so arguably one should arguably not just declare it again in TContactDetailsViewModel.
- Log in to comment
@NickHodges which branch?