title: Cannot resolve symbol 'Point', 'Size', 'PointCollection'
body: <p>ReSharper 6.1 (as apposed to Visual Studio itself) is telling me there are errors in my WCF Workflow XAML file.</p>
  
  <ul>
  <li>Cannot resolve symbol 'Point'</li>
  <li>Cannot resolve symbol 'Size'</li>
  <li>Cannot resolve symbol 'PointCollection'</li>
  </ul>
  
  <p>Although it compiles without any problems and appears to work I'd like to track down the cause of the errors. StyleCop obviously knows (or thinks it knows) something that Visual Studio doesn't.</p>
  
  <p>This is an example of the code giving me the errors:</p>
  
  <pre><code>            &lt;sap:WorkflowViewStateService.ViewState&gt;
                &lt;scg3:Dictionary x:TypeArguments="x:String, x:Object"&gt;
                  &lt;av:Point x:Key="ShapeLocation"&gt;179,251&lt;/av:Point&gt;
                  &lt;av:Size x:Key="ShapeSize"&gt;242,58&lt;/av:Size&gt;
                  &lt;av:PointCollection x:Key="ConnectorLocation"&gt;300,309 300,339 270,339 270,441 300,441&lt;/av:PointCollection&gt;
                &lt;/scg3:Dictionary&gt;
              &lt;/sap:WorkflowViewStateService.ViewState&gt;
  </code></pre>
  
  <p>And these are the namespace declarations:</p>
  
  <pre><code>&lt;Activity
      mc:Ignorable="sap"
      x:Class="Hydra.Sales.Workflows.CreateCustomer"
      xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
      xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
      xmlns:hcid="clrnamespace:Hydra.Common.Infrastructure.DataContracts;assembly=Hydra.Common.Infrastructure"
      xmlns:local="clr-namespace:Hydra.Sales.Activities.Associations"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:mv="clrnamespace:Microsoft.VisualBasic;assembly=System"
      xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities"
      xmlns:s="clr-namespace:System;assembly=mscorlib"
      xmlns:s1="clr-namespace:System;assembly=System"
      xmlns:s2="clr-namespace:System;assembly=System.Xml"
      xmlns:s3="clr-namespace:System;assembly=System.Core"
      xmlns:s4="clr-namespace:System;assembly=System.ServiceModel"
      xmlns:sa="clr-namespace:System.Activities;assembly=System.Activities"
      xmlns:sad="clr-namespace:System.Activities.Debugger;assembly=System.Activities"
      xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
      xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System"
      xmlns:scg1="clr-namespace:System.Collections.Generic;assembly=System.ServiceModel"
      xmlns:scg2="clr-namespace:System.Collections.Generic;assembly=System.Core"
      xmlns:scg3="clr-namespace:System.Collections.Generic;assembly=mscorlib"
      xmlns:sd="clr-namespace:System.Data;assembly=System.Data"
      mlns:sl="clr-namespace:System.Linq;assembly=System.Core"
      xmlns:st="clr-namespace:System.Text;assembly=mscorlib"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
  </code></pre>
  
  <p>The project has references to (among others):</p>
  
  <ul>
  <li><code>System System.Activities</code></li>
  <li><code>System.Code</code></li>
  <li><code>System.Xaml</code></li>
  <li><code>System.Xml</code></li>
  </ul>
  
  <p>Adding a reference to <code>WindowsBase</code> reduces the list of errors down to <code>Cannot resolve symbol 'PointCollection'</code> but I'm not convinced it's the correct solution.</p>