title: C# - Windows Universal app - Image Source doesn't work
body: <p>I'm trying to define source for my image in Windows Universal app, but it givs me following error: </p>
  
  <blockquote>
    <p>Invalid URI: The format of the URI could not be determined.</p>
  </blockquote>
  
  <pre><code>imagePath = "Assets/Category-other-dark.png";
  Uri uri = new Uri(imagePath, UriKind.Absolute);
  ImageSource imgSource = new BitmapImage(uri);
  imgCategory.Source = imgSource;
  </code></pre>
  
  <p>I search through many forums and tryed a lot of things but nothing works. Thank you.</p>