diff --git a/DuckDB.NET.Test/Helpers/DisposableFile.cs b/DuckDB.NET.Test/Helpers/DisposableFile.cs index 6c951a38..2aa69865 100644 --- a/DuckDB.NET.Test/Helpers/DisposableFile.cs +++ b/DuckDB.NET.Test/Helpers/DisposableFile.cs @@ -20,7 +20,7 @@ public DisposableFile(string filename) public static DisposableFile GenerateInTemp(string extension = null, int? index = null, bool create = false) { - var fileBuilder = new StringBuilder(Path.Combine(Path.GetTempPath(), "Temp File-" + Guid.NewGuid().ToString())); + var fileBuilder = new StringBuilder(Path.Combine(Directory.GetCurrentDirectory(), "Temp File-" + Guid.NewGuid().ToString())); if (index != null) {