title: Silverlight: how to navigate to page in class library
body: <p>I have a bunch of reusable pages that I want to put into a class library.  So I have edited my MainPage.xml ('Moe.Tactical.Generic.Silverlight' is the name of the class library) </p>
  
  <pre><code>&lt;uriMapper:UriMapper&gt;
    &lt;uriMapper:UriMapping Uri="/Views/{path}" MappedUri="/Moe.Tactical.Generic.Silverlight;component/Views/{path}" /&gt;
    &lt;uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/&gt;
  &lt;/uriMapper:UriMapper&gt;
  </code></pre>
  
  <p>Then I assign the url in code, but I get the error: Page not found: "/Moe.Tactical.Generic.Silverlight;component/Views/GenericView?page=Maintanance"</p>
  
  <p>I assign the Uri via</p>
  
  <pre><code>return new Uri(@"/" + pageType + "?page=" + page.Name, UriKind.Relative);
  </code></pre>
  
  <p>have I missed something? </p>