Note that there are some explanatory texts on larger screens.

plurals
  1. POThe name "DictionaryEntry" does not exist in the namespace "using:System.Collections"
    text
    copied!<p>I am using the Consumer Preview of Windows 8 to create a Metro app. Whenever I add a new IValueConverter to a XAML page I receive the following exceptions from within the StandardStyles.xaml file:</p> <blockquote> <p>The name "DictionaryEntry" does not exist in the namespace "using:System.Collections"</p> </blockquote> <p>The errors point to this section of the StandardStyles.xaml file:</p> <pre><code>&lt;ResourceDictionary.ThemeDictionaries&gt; &lt;Collections:DictionaryEntry x:Key="Default"&gt; &lt;Collections:DictionaryEntry.Value&gt; &lt;ResourceDictionary&gt; &lt;x:String x:Key="BackButtonGlyph"&gt;&lt;/x:String&gt; &lt;x:String x:Key="BackButtonSnappedGlyph"&gt;&lt;/x:String&gt; &lt;/ResourceDictionary&gt; &lt;/Collections:DictionaryEntry.Value&gt; &lt;/Collections:DictionaryEntry&gt; &lt;Collections:DictionaryEntry x:Key="HighContrast"&gt; &lt;Collections:DictionaryEntry.Value&gt; &lt;ResourceDictionary&gt; &lt;x:String x:Key="BackButtonGlyph"&gt;&lt;/x:String&gt; &lt;x:String x:Key="BackButtonSnappedGlyph"&gt;&lt;/x:String&gt; &lt;/ResourceDictionary&gt; &lt;/Collections:DictionaryEntry.Value&gt; &lt;/Collections:DictionaryEntry&gt; &lt;/ResourceDictionary.ThemeDictionaries&gt; </code></pre> <p>This file was added automatically when I created a new Metro App project from the default Metro App project templates. The file compiled and ran fine before I added a IValueConverter to a page. The issue happens every time I add a IValueConverter, regardless of which project template I use, and regardless of if I add the IValueConverter using Expression Blend or Visual Studio.</p> <p>This could just be a bug in the Consumer Preview release, but it seems like such a fundamental piece of work, that I figured it was worth asking here if anyone else has run into this issue and, if so, how were you able to solve or workaround it?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload