Novolis.IO.Paths 2026.1.1.52

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

Novolis

Novolis · Docs · Source

Novolis.IO.Paths

Walk parent directories to find a workspace root using caller-supplied markers (files/dirs) or a custom predicate. Used by dogfood apps and Studio hosts to locate repo roots without hard-coded paths.

Install

dotnet add package Novolis.IO.Paths

Quick start

using Novolis.IO.Paths;

// All listed relative paths must exist under the root (file or directory).
if (RootFinder.TryFind(
        Environment.CurrentDirectory,
        ["nuget.config", "Directory.Packages.props"],
        out var root))
{
    Console.WriteLine(root);
}

// Or supply a custom predicate:
RootFinder.TryFind(startDir, dir => File.Exists(Path.Combine(dir.FullName, ".git", "HEAD")), out root);

API

Member Role
RootFinder.TryFind(start, requiredRelativePaths, out root) Nearest ancestor where every marker exists
RootFinder.TryFind(start, isRoot, out root) Nearest ancestor matching Func<DirectoryInfo, bool>

On failure, root is set to startDir and the method returns false.

Dogfooding

dotnet run --project ../novolis-dogfooding/apps/io/IoSmoke
Package Role
Novolis.IO.Workspace Root-scoped file IO (published from novolis-storage)
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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Novolis.IO.Paths:

Package Downloads
Novolis.Manuscript

Manuscript workspace catalog, chapter metadata, and diagnostics (no PDF/audio).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.52 0 10/4/2026
2026.1.1.51 27 10/3/2026
2026.1.1.50 35 10/3/2026
2026.1.1.49 39 10/2/2026
2026.1.1.48 37 10/2/2026
2026.1.1.47 37 10/2/2026
2026.1.1.46 36 10/2/2026
2026.1.1.45 39 10/2/2026
2026.1.1.36 37 10/2/2026
2026.1.1.35 40 10/1/2026
2026.1.1.34 107 9/30/2026