DirectNAot.Extensions 1.7.1

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

DirectN AOT Extensions

This is the companion project of DirectN AOT, which it requires. It's only for .NET 10 and beyond, it won't work with older versions nor with .NET Framework.

The interfaces in DirectN keep the exact native shape, and DirectN.Extensions adds a .NET-looking layer on top of them:

  • extension methods for the most used Direct2D, DirectWrite, DXGI, D3D11, D3D12, Direct Composition, WIC and Media Foundation interfaces. They throw instead of returning an HRESULT, return IComObject<T> for COM objects, and exist for both the raw interface and IComObject<T>.
  • COM object utilities (ComObject, IComObject<T>) that release COM references deterministically, and COM memory utilities (ComMemory).
  • string utilities (Pwstr and friends for PWSTR, PSTR, BSTR, etc.).
  • VARIANT and PROPVARIANT utilities (Variant, PropVariant).
  • Win32 desktop utilities (windows, monitors, message decoding, command line, etc.), bound to DirectX and Direct2D primitives.

See the DirectN.Extensions section of the main README for the conventions and the object lifetime rules.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on DirectNAot.Extensions:

Package Downloads
WebView2Aot

AOT-Compatible Windows WebView2 interop Code for .NET Core without any dependency on Winforms, WPF, WinUI, or other UI frameworks.

WicNetCore

WIC, Direct2D and DWrite interop code.

ShellN.Extensions

A friendly, AOT compatible thin managed layer over some of the Windows Shell namespace APIs, on top of ShellN. Browse and operate the shell as objects with ShellItem, ShellFolder and KnownFolder, invoke the real context menu, read property stores, and watch for shell changes.

AOTrino

Electron-like desktop apps on .NET AOT + WebView2, single-exe, Windows x86/x64/ARM64, front-end-framework-agnostic (React/Fluent layers optional).

Wuldas.Square.Extensions.WebView

Native operating-system WebView control for Square

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on DirectNAot.Extensions:

Repository Stars
aelyo-softworks/AOTrino
Electron-like desktop apps on .NET AOT + WebView2, single-exe, Windows (x64/x86/ARM64), front-end-framework-agnostic (React/Fluent UI layers optional).
Version Downloads Last Updated
1.7.1 171 10/20/2026
1.7.0 2,639 9/23/2026
1.6.9 178 9/21/2026
1.6.8 119 9/20/2026
1.6.7 165 9/14/2026
1.6.6 860 8/27/2026
1.6.5 365 7/20/2026
1.6.4 282 7/2/2026
1.6.3 205 6/9/2026
1.6.1 138,607 4/26/2026
1.5.2 400 2/20/2026
1.5.1 225 1/4/2026
1.4.1 1,715 11/11/2025
1.4.0 578 9/17/2025
1.3.2 867 7/28/2025
1.3.1 851 5/15/2025
Loading failed