Open davidwengier opened 5 years ago
Spike of this is here: https://github.com/davidwengier/project-system/tree/XamlRuleRegisterWithMEF
This needs a fair bit of work in CPS to complete.
.xaml
files registered via MEFOverrideMode="Extend"
to item rules *.FSharp.xaml
, which isn't supported when registering rules via MEF. They would need to be flattened out as part of fixing this issue.
Currently all of our rule XAML files are shipped on disk, but they're also included as resources in the DLLs, which is superfluous. We need to see if we can move to MEF Export or Automation in order to expose the rules. See here for information: https://github.com/Microsoft/VSProjectSystem/blob/master/doc/extensibility/adding_xaml_rules.md#via-mef-export
If this is possible then we can stop shipping XAML files to users.