hi to everyone, i have a little problem with the File.Copy method in WPF, my code is very simple and i get an exception when i run it, << Could not find a part of the path 'Images\37c31987-52ee-4804-8601-a7b9b4d439fd.png'. >>, where Images is a relative folder.
here is my code, as i said simple and the same code works fine in a console application, no problem at all.
string filenamae = System.IO.Path.Combine(images, Guid.NewGuid().ToString() + System.IO.Path.GetExtension(imageFile)); ;
System.IO.File.Copy(imageFile, filenamae);
this.ImageLocation = string.Empty;
so if any can help, thanks.