Portable.Xaml
Portable.Xaml copied to clipboard
RoslynWriter initial implementation
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
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.
@cwensley Have you plan for this feature?