TemplateStudio icon indicating copy to clipboard operation
TemplateStudio copied to clipboard

enable SourceGenerators

Open Varorbc opened this issue 3 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe.

https://github.com/CommunityToolkit/dotnet/tree/main/CommunityToolkit.Mvvm.SourceGenerators

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Applies to the following platforms:

  • [X] WinUI
  • [X] WPF
  • [ ] UWP

Varorbc avatar Apr 29 '22 01:04 Varorbc

Definitely for WPF & WinUI. Possibly for UWP

mrlacey avatar Apr 29 '22 09:04 mrlacey

I'd suggest waiting for 8.0 release of the MVVM Toolkit when the incremental source generators are released (there's also new features there and property name changes).

But it should work fine across WPF, UWP, and WinUI 3. In fact, you can create the ViewModels/Models in a .NET Standard library and have everything isolated from the UX layer.

michael-hawker avatar Jun 03 '22 21:06 michael-hawker

Thanks. I'll move this to the 5.3 release for tracking.

mikebattista avatar Jun 03 '22 23:06 mikebattista

Closing out as completed with #4640.

mikebattista avatar Apr 04 '23 19:04 mikebattista