IVSoftware.Portable.Common 1.0.0-rc1

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

IVSoftware.Portable.Common GitHub

A small foundational library that provides shared exception-signaling primitives and metadata attributes for the IVSoftware ecosystem. It supports higher-level packages by supplying a consistent, observable way to surface errors, advisories, and diagnostics without requiring Debug builds.

A core purpose of this package is to let Release-mode NuGet packages expose services similar to System.Diagnostics (e.g., logging, tracing, caller identification, advisory messages) through a controlled signaling channel, without shipping alternate Debug variants.


Exception Signaling Model

All signaling flows through a common Throw event.
This allows end-user developers (EUDs) to log, intercept, suppress, or escalate conditions according to their own policies, even when consuming a Release-mode package.

ThrowOrAdvise

An enum representing the intent of the signal:

  • ThrowHard - Standard failure path. Throws unless explicitly suppressed.
  • ThrowSoft - Non-fatal condition. Never throws unless escalated.
  • ThrowFramework - Framework-side fault, defaulting to throw but downgradeable.
  • Advisory - Informational. Never affects control flow.

Supporting enums (ThrowableStatus, ThrowToStringFormat) describe post-raise conditions and how a Throw object formats itself.


ThrowExtensions

Extension methods that raise errors or advisories in a structured, observable way:

  • ThrowHard<T>()
  • ThrowSoft<T>()
  • ThrowFramework<T>()
  • RethrowHard(...), RethrowSoft(...), RethrowFramework(...)
  • Advisory(...)

Each call:

  • Captures the caller identity.
  • Wraps the exception in a Throw object that includes an ID, message, and Handled flag.
  • Routes the signal through a static event.
  • Honors the caller's choice to suppress or escalate.
  • Behaves the same whether running under Debug or Release.

This enables Release-mode diagnostics without relying on Debug.WriteLine availability or a Debug-only NuGet variant.


Advisory

A lightweight subclass of Throw representing informational messages.
Advisories use the same event channel as faults but are always non-throwing and default to diagnostic output if unhandled.


Attributes

The package includes attribute types used across IVSoftware packages:

  • CanonicalAttribute
  • CarefulAttribute
  • ProbationaryAttribute
  • ScaffoldingAttribute
  • UnsupportedAttribute
  • IndexerAttribute

These carry intent and documentation value without enforcing runtime behavior.


Purpose

IVSoftware.Portable.Common is intentionally minimal.
Its role is to provide the shared vocabulary needed for consistent behavior across multiple NuGet packages:

  • Unified exception and advisory signaling in Release builds,
  • Predictable logging and diagnostics without Debug-specific assemblies,
  • Lightweight annotations for conveying API intent.

It serves as infrastructure for other IVSoftware packages rather than a framework layer of its own.


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 was computed.  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 was computed.  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 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  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.
  • .NETStandard 2.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on IVSoftware.Portable.Common:

Package Downloads
IVSoftware.GlyphProvider.Portable

Portable glyph identity resolver using embedded config.json files shipped alongside custom fonts. Provides ToGlyph extensions, enum prototype generation, and GlyphAttribute for declarative binding.

IVSoftware.GlyphProvider.WinForms

Windows-specific font loader and glyph support for IVSoftware’s Portable GlyphProvider. Provides PrivateFontCollection integration, embedded TTF loading, and GDI+ FontFamily materialization.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc1 216 2/6/2026
1.0.0-beta 1,003 12/2/2025

Initial 1.0.0-beta release
- Provides foundational exception and advisory signaling for Release-mode packages.
- Includes metadata attributes shared across IVSoftware NuGet packages.
1.0.0-rc1
- ADDED supported framework: netstandard2.0