title: Issue with x:TypeArguments and generic List class in XAML
body: <p>I created the following markup for a loose XAML file. </p>
  
  <pre><code>&lt;StackPanel 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"&gt;
      &lt;scg:List x:TypeArguments="sys:String"&gt;
          HelloWorld
      &lt;/scg:List&gt;
  &lt;/StackPanel&gt;
  </code></pre>
  
  <p>But I get this error when I run the loose XAML in IE:</p>
  
  <blockquote>
    <p>The tag 'List' does not exist in XML namespace 'clr-namespace:System.Collections.Generic;assembly=mscorlib'. Line '7' Position 2'.</p>
  </blockquote>
  
  <p>As you would know, generics in XAML are a feature in XAML 2009 and can work for the most part only in loose XAML files.  But the above code doesnt work. </p>
  
  <p>Any clue why this error occurred and how to rectify the issue? Thanks in advance.</p>