title: Screens using LongListSelector shared between WP7 and WP8
body: <p>In my project I have a library shared between WP7 and WP8 clients. The library contains views, view models and other interesting data. </p>
  
  <p>I also want to use the latest version of Windows Phone Toolkit. </p>
  
  <p>The problem that I run into is that while my xaml code is compatible, I get a runtime error, because LongListSelector exists in different assemblies in Windows Phone Toolkit for wp7 and in framework code for WP8. </p>
  
  <p>in wp7:</p>
  
  <pre><code>xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
  </code></pre>
  
  <p>in wp8:</p>
  
  <pre><code>xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
  </code></pre>
  
  <p>How can I solve this conundrum without needing to duplicate my xamls for both platforms? </p>