diff --git a/source/icu.net.tests/NativeMethods/DllResolverTests.cs b/source/icu.net.tests/NativeMethods/DllResolverTests.cs index 98da3729..1457ef0c 100644 --- a/source/icu.net.tests/NativeMethods/DllResolverTests.cs +++ b/source/icu.net.tests/NativeMethods/DllResolverTests.cs @@ -18,7 +18,14 @@ public void TearDown() if (string.IsNullOrEmpty(_tempPath)) return; - Directory.Delete(_tempPath, true); + try + { + Directory.Delete(_tempPath, true); + } + catch (System.Exception) + { + // just ignore + } _tempPath = null; }