title: How to access folder & get StorageFile list in WinRT class library?
body: <p>I am creating a class library. It contains several images. In WinRT app we can enumerate files  from specific folder like this.</p>
  
  <pre><code>var folder = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFolderAsync("Assets");
  var files = await folder.GetFilesAsync(); //which returns List&lt;StorageFile&gt;
  </code></pre>
  
  <p>While creating class library I can access <strong>single</strong> image like this</p>
  
  <pre><code>Assembly assembly = typeof(CLASS_NAME).GetTypeInfo().Assembly;
  Stream manifestResourceStream = assembly.GetManifestResourceStream("MyImage.png")
  </code></pre>
  
  <p>The below line returns all the resources of whole assembly, not for particular folder.</p>
  
  <pre><code>string[] names = assembly.GetManifestResourceNames();
  </code></pre>
  
  <p>I tried this one, but didn't work. It throws exception <strong>The specified path (ms-appx:///LibraryName/Images) contains one or more invalid characters.</strong></p>
  
  <pre><code>var sf = await StorageFolder.GetFolderFromPathAsync("ms-appx:///LibraryName/Images");
  </code></pre>
  
  <p>Now I have nearly 100+ image so in that way it will be donkey work, so how can I access the folder get the list of all the files ?</p>
  
  <p>Please note I am creating class library for Windows Store App.</p>