lundi 25 janvier 2016

Windows.Storage.ApplicationData.Current.LocalFolder.Path changes the path during normal debug and a test

I am creating a UWP app and have created a file using Windows.Storage.ApplicationData.Current.LocalFolder.Path for the path. When in debug mode, it has one location for the path, then when running a unit test, it has a different location for the path and therefore will not find the file since it is a different location. Has anybody encountered this before? I've been searching and haven't seen anything on why it does this between debugging and debugging a unit test.

Aucun commentaire:

Enregistrer un commentaire