Write docs for DependencyPropertyGenerator#665
Write docs for DependencyPropertyGenerator#665Lamparter wants to merge 4 commits intoCommunityToolkit:mainfrom
Conversation
| public DependencyPropertyGeneratorCustomSample() | ||
| { | ||
| this.InitializeComponent(); | ||
| } |
There was a problem hiding this comment.
Would be great to see this expanded to use the generator here in the code-behind, and then see that property bound in the XAML.
|
I know Sergio's been busy to review, and I didn't see movement on the comment. I wanted to do some tinkering in this space, so I did a pass on the doc and integrating the sample into it within the sample app with a However, I the generator isn't running within the samples project to provide the implementation of the property:
The attribute is found, I can see the project dependency, but either the generator doesn't appear to even be running:
Rebased this branch on |
|
I tried checking out a clean And these generator errors: Binlogs: binlogs.zip I was able to build and run the all components solution... I'll check if the branch works as well, but was confused by the stand-alone component not building for the faster dev loop. (I did notice that opening the all solution changed my multi-targets to include more, including a Branch still has issue with analyzer not running, I think it's because the samples project just references the src project as a regular project from the standard props file for samples vs. including it as an analyzer type. Trying to add both may be causing a conflict now... |
|
Same issue in the all solution, generator won't run. I see it passed into the Csc step of the
I finally may be getting somewhere with the SG ReportAnalyzer though... I then just did a build of the sample project on the command line as per the docs and saw this right after the csc commandline call and before it failed: Looks like there's some MVID mismatch? But I'm not sure what would cause that... @Sergio0694 any ideas? I still have issues just trying to build the stand-alone, e.g. |
Not entirely sure, also I don't recall seeing this before, and can't repro in other projects (eg. Store, other apps). @CyrusNajmabadi would you know who we could ask for some help to investigate issues like this? 🤔 |





No description provided.