Portable.Xaml icon indicating copy to clipboard operation
Portable.Xaml copied to clipboard

RoslynWriter initial implementation

Open cwensley opened this issue 7 years ago • 2 comments

This is a WIP, and is not done yet.

We need to figure out how to generate the code from the xaml without necessarily having information about the types when reading the xaml, or get the type info from roslyn while compiling.

Things missing:

  • Dictionary and Collection support
  • Conversion of types
  • "Dynamic" conversion, e.g. use type/value converters for complex types or types that need to be resolved at runtime
  • Other things like ambient properties, etc.

This is for issue #23

cwensley avatar Jan 07 '17 04:01 cwensley

how to generate the code from the xaml without necessarily having information about the types when reading the xaml

Have you considered implementing it as a post-build step? Just get referenced libraries from MSBuild, compile dll and use ILRepack to inject compiled code. This will also make your code generator compatible with VB/F# automatically.

kekekeks avatar Jun 20 '17 11:06 kekekeks

@cwensley Have you plan for this feature?

cm4ker avatar Sep 11 '18 10:09 cm4ker