Meziantou.Framework.TemporaryDirectory 1.0.33

Prefix Reserved
dotnet add package Meziantou.Framework.TemporaryDirectory --version 1.0.33
                    
NuGet\Install-Package Meziantou.Framework.TemporaryDirectory -Version 1.0.33
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.TemporaryDirectory" Version="1.0.33" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.TemporaryDirectory" Version="1.0.33" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.Framework.TemporaryDirectory" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.TemporaryDirectory --version 1.0.33
                    
#r "nuget: Meziantou.Framework.TemporaryDirectory, 1.0.33"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.Framework.TemporaryDirectory@1.0.33
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.TemporaryDirectory&version=1.0.33
                    
Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.TemporaryDirectory&version=1.0.33
                    
Install as a Cake Tool

Meziantou.Framework.TemporaryDirectory

Create a unique empty folder that is deleted at the end of the scope.

using var temporaryDirectory = TemporaryDirectory.Create();
temporaryDirectory.CreateEmptyFile("test/demo.txt");
File.WriteAllText(temporaryDirectory.GetFullPath("foo.txt"), "bar");
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Meziantou.Framework.TemporaryDirectory:

Package Downloads
ANcpLua.Roslyn.Utilities.Testing

Fluent testing framework for Roslyn analyzers, code fixes, and incremental generators with caching validation, forbidden type detection, and comprehensive assertion support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.33 442 2/1/2026
1.0.32 712 1/25/2026
1.0.31 981 1/18/2026
1.0.30 6,286 12/14/2025
1.0.29 1,491 12/7/2025
1.0.28 4,025 11/30/2025
1.0.27 714 11/23/2025
1.0.26 1,037 11/16/2025
1.0.25 1,070 11/9/2025
1.0.24 2,339 11/2/2025
1.0.23 1,877 10/29/2025
1.0.22 379 10/26/2025
1.0.21 560 10/19/2025
1.0.20 11,866 9/16/2025
1.0.19 1,488 9/3/2025
1.0.18 9,014 8/21/2025
1.0.17 1,147 8/10/2025
1.0.16 2,158 7/13/2025
1.0.15 1,983 6/15/2025
1.0.14 5,042 5/18/2025
1.0.13 8,054 4/13/2025
1.0.12 1,868 3/16/2025
1.0.11 1,775 3/1/2025
1.0.10 12,815 11/17/2024
1.0.9 5,638 11/15/2023
1.0.8 3,586 7/14/2021
1.0.7 716 4/22/2021
1.0.6 554 4/6/2021
1.0.5 696 2/28/2021
1.0.4 676 1/17/2021
1.0.3 551 1/15/2021
1.0.2 717 12/7/2020
1.0.1 651 12/4/2020
1.0.0 816 9/24/2020