Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Unable to delete file

$
0
0

Hi,
The file is existing within the current project like

App12\output.jpg

but using this,

                if (File.Exists("~/output.jpg"))
                    File.Delete("~/output.jpg");

that file cannot be removed. Why?


Many Thanks & Best Regards, Hua Min


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>