Okojo.DotNet.Modules 0.2.0-preview.1

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

Okojo.DotNet.Modules

Okojo.DotNet.Modules provides .NET ecosystem module-resolution primitives for Okojo embedders.

The first slice is intentionally small:

  • model future module references for NuGet packages, project references, and local assembly files
  • expose cache-location and cache-key helpers aligned with the .NET file-based app workflow and NuGet global packages
  • provide a real module-loader wrapper for standard JS import specifiers such as dll: and nuget:

This package does not add JS syntax. The runtime surface is standard JavaScript import with resolver-owned specifiers such as import Uri from "dll:C:\\libs\\MyInterop.dll#MyInterop.Uri" or import JsonConvert from "nuget:Newtonsoft.Json@13.0.3#Newtonsoft.Json.JsonConvert", not a parser extension on the JavaScript side. The current implementation loads CLR assemblies through the existing reflection-backed CLR access path and keeps NuGet/local-DLL resolution policy out of Okojo core while leaving room for future reflection and IL-emit backends.

When a specifier omits #Clr.Path, the import acts as an assembly loader for the existing global clr namespace. For example, import "dll:C:\\libs\\MyInterop.dll"; makes the assembly visible through clr.MyInterop..., and a default import without a CLR path returns the root clr namespace object.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0-preview.1 34 9/13/2026