Exclude Silverlight from code execution

Don't execute FrameworkContentElement only if !SILERLIGHT