This project is read-only.

Accessing App folder to load content. Is that possible?

Feb 15, 2014 at 12:06 PM
I see I can look at FileSystem.Current.LocalStorage and FileSystem.Current.RoamingStorage
I dont see how I can use this to load content from my app folder.


but my content folder is
F:\Dev\<Project folder>\bin\Windows\Debug\Content
Feb 18, 2014 at 5:10 PM
You can get an IFolder for any folder you want with FileSystem.Current.GetFolderFromPathAsync(path). You probably need to get platform-specific APIs to get the path to use. For WinRT, it looks like this is Windows.ApplicationModel.Package.Current.InstalledLocation.Path.

Feb 19, 2014 at 5:14 PM
Thanks for the info. I have it in place and working great.
Very Nice project.

I am going to do a writeup on how to use a texture atlas with monogame and I will mention PCL Storage there.