I had the same problem. C# ASP.net 3.5 still has this...
Guest 3 мая 2009 г. 02:50:00
I had the same problem. C# ASP.net 3.5 still has this bug. About if you do Directory.Delete and then Remake the Directory about 1 time in 20 it fails on large tests
I have seen this behavior too, using .NET 2.0 runtime. In a unit test, I create a directory, then delete it via Directory.Delete(directory, true) in some business logic, and then in the unit test assert that Directory.Exists(directory) returns false. Sometimes it returns true instead, even though clearly the directory was deleted, as evidenced by examining it after the test completes. Thanks for making Directory.Delete(x, true) asynchronous, Microsoft! Not!
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .