XAML Conditional Compile RRS feed

  • Question

  • I found some code here: http://www.removingalldoubt.com/PermaLink.aspx/defa2a7d-b1e9-49eb-b8c8-438348be8d18 that allows someone to conditionally compile xaml.  I realize this was written for WPF, but I'm curious if it's supposed to work in Silverlight and I'm missing something.

    I keep getting an error at runtime saying: "The type 'AlternateContent' was not found because 'http://schemas.openxmlformats.org/markup-compatibility/2006' is an unknown namespace."  It appears the silverlight xaml parser has a subset of namespace capabilities. Is this correct?

    Thursday, May 27, 2010 1:49 PM


All replies