i need to access folder in project .I have used Directory.CurrentDirectory and it is not working is there a way to access folders in Folder structure
i need to access folder in project .I have used Directory.CurrentDirectory and it is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
r u trying to access with in the project folder meanz local folder???
if u trying that so u can use this one in my case m creating folder u can change it
StorageFolder folder = await ApplicationData.Current.LocalFolder.CreateFolderAsync(“Folder Name”, CreationCollisionOption.OpenIfExists);
and also u can access folder with given uri path like this, in my case m pick images from local folder within the project..
private String imagePath = null;
ImageSource image = new BitmapImage(new Uri(new Uri(“ms-appdata:///local/Folder Name/”), this.imagePath));