LTRData.DiscUtils.Vhd 1.0.89

dotnet add package LTRData.DiscUtils.Vhd --version 1.0.89
                    
NuGet\Install-Package LTRData.DiscUtils.Vhd -Version 1.0.89
                    
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="LTRData.DiscUtils.Vhd" Version="1.0.89" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LTRData.DiscUtils.Vhd" Version="1.0.89" />
                    
Directory.Packages.props
<PackageReference Include="LTRData.DiscUtils.Vhd" />
                    
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 LTRData.DiscUtils.Vhd --version 1.0.89
                    
#r "nuget: LTRData.DiscUtils.Vhd, 1.0.89"
                    
#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 LTRData.DiscUtils.Vhd@1.0.89
                    
#: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=LTRData.DiscUtils.Vhd&version=1.0.89
                    
Install as a Cake Addin
#tool nuget:?package=LTRData.DiscUtils.Vhd&version=1.0.89
                    
Install as a Cake Tool

LTRData.DiscUtils.Vhd

Managed .NET support for reading, creating and modifying fixed, dynamic and differencing Microsoft VHD virtual disk images.

Part of the LTRData DiscUtils fork. Package IDs use LTRData.DiscUtils; C# namespaces remain DiscUtils.

Installation

dotnet add package LTRData.DiscUtils.Vhd

Capabilities

Capability Support
Read existing images Yes
Create fixed / dynamic images Yes
Create differencing images Yes
Write virtual disk content Yes, for writable images
Parent chains Yes

Usage notes

Disk.Content exposes virtual sectors. A disk image and a filesystem are separate layers: add partitioning and filesystem packages to work with files inside the disk. Parent images must be accessible when opening differencing disks. This package does not install a Windows virtual-disk driver.

Registration

For automatic discovery, register the providers implemented by this package:

DiscUtils.Vhd.Formats.Register();

Direct use of the concrete APIs in this package does not require discovery registration. Each registration call covers only its own assembly. Register DiscUtils.Core.Formats.Register() as well when using generic disk opening through the local-file transport, and register other disk/filesystem providers as needed. These registration calls support trimming and Native AOT; this is not a guarantee for every operation in the package.

Example

using System.IO;
using DiscUtils.Vhd;
using DiscUtils.Streams;

using var image = File.Create("new.vhd");
using var disk = Disk.InitializeDynamic(image, Ownership.None, 64L * 1024 * 1024);
// The new disk is blank; partition and format disk.Content as needed.

Documentation

Repository and capability matrix · Wiki · Migration guide · Format registration and Native AOT

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on LTRData.DiscUtils.Vhd:

Package Downloads
Microsoft.CST.RecursiveExtractor

RecursiveExtractor is able to process the following formats: ar, bzip2, deb, gzip, iso, tar, vhd, vhdx, vmdk, wim, xzip, and zip. RecursiveExtractor automatically detects the archive type and fails gracefully when attempting to process malformed content.

LTRData.DiscUtils.Containers

DiscUtils meta-package for disk and image containers, with Linux volume mapping and related image readers.

LTRData.DiscUtils

Broad DiscUtils meta-package for managed .NET disk images, filesystems, storage protocols and related storage formats.

LTRData.DiscUtils.Dokan

Mounts DiscUtils IFileSystem implementations using Dokan file system driver

Haruka.Arcade.SegaAMFileLib

Libary to read/write SEGA arcade file formats

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on LTRData.DiscUtils.Vhd:

Repository Stars
microsoft/RecursiveExtractor
RecursiveExtractor is a .NET Standard 2.0 archive extraction Library, and Command Line Tool which can process 7zip, ar, bzip2, deb, gzip, iso, rar, tar, vhd, vhdx, vmdk, wim, xzip, and zip archives and any nested combination of the supported formats.
Version Downloads Last Updated
1.0.89 173 9/22/2026
1.0.88 1,922 8/3/2026
1.0.87 393 7/20/2026
1.0.86 1,277 7/4/2026
1.0.85 436 6/30/2026
1.0.84 260 6/27/2026
1.0.83 358 6/18/2026
1.0.82 13,406 5/26/2026
1.0.81 564 5/14/2026
1.0.80 616 4/24/2026
1.0.77 1,143 3/13/2026
1.0.76 507 3/10/2026
1.0.75 1,531 2/20/2026
1.0.74 339 2/18/2026
1.0.73 4,769 1/5/2026
1.0.72 3,668 11/25/2025
1.0.71 1,737 11/19/2025
1.0.70 1,743 11/11/2025
1.0.69 948 10/31/2025
1.0.68 377 10/30/2025
Loading failed