ObjectPrinter 2.0.35

dotnet add package ObjectPrinter --version 2.0.35                
NuGet\Install-Package ObjectPrinter -Version 2.0.35                
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="ObjectPrinter" Version="2.0.35" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ObjectPrinter --version 2.0.35                
#r "nuget: ObjectPrinter, 2.0.35"                
#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.
// Install ObjectPrinter as a Cake Addin
#addin nuget:?package=ObjectPrinter&version=2.0.35

// Install ObjectPrinter as a Cake Tool
#tool nuget:?package=ObjectPrinter&version=2.0.35                

Dumps an object to a string or a text writer. Great for debugging. Awesome for capturing context in production exception dumps.

Use ObjectPrinter.Log4Net for a renderer to automatically dump all logged exceptions using log4net.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on ObjectPrinter:

Package Downloads

Framework for creating console apps with multiple commands IoC Registration: register all types where - type.IsAssignableTo<IConsoleCommand>() - type.HasCustomAttribute<ArgSetAttribute>()


Enables MultiCommandConsole commands to be run as services


Makes mapping key/value stores (appSettings, environment variables, NameValueCollections...) to POCs dead simple and highly extensible.


Provides an object renderer to integrate with log4net to dump exceptions (or any/all object types) using the ObjectPrinter. Also provides a log4net type inspector to prevent prevent dumping log4net objects that should be converted to strings.


Provides an object renderer to integrate with log4net to dump exceptions (or any/all object types) using the ObjectPrinter. Also provides a log4net type inspector to prevent prevent dumping log4net objects that should be converted to strings.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.35 165,986 5/6/2016
2.0.30 11,462 4/6/2015
2.0.29 8,009 1/24/2015
2.0.28 1,900 12/28/2014
2.0.27 1,786 12/28/2014
2.0.26 1,796 12/27/2014
2.0.20 5,539 6/2/2014
2.0.19 1,677 5/27/2014
2.0.18 1,673 5/27/2014
2.0.17 1,707 5/27/2014
2.0.12 1,679 5/26/2014
2.0.11 1,701 5/26/2014
2.0.10 1,719 5/26/2014
2.0.9 1,748 5/26/2014
2.0.8 1,702 5/26/2014
2.0.7 1,704 5/6/2014
2.0.6 1,685 5/4/2014
2.0.5 1,844 5/4/2014
2.0.4 1,734 5/4/2014
2.0.3 1,708 5/4/2014
1.2.5140.3134 13,598 1/27/2014
1.2.5140.3078 1,269 1/27/2014
1.2.5140.2617 1,620 1/27/2014
1.2.5138.19224 1,497 1/25/2014
1.2.5137.27952 1,277 1/24/2014
1.2.0 11,163 1/23/2014
1.1.1 14,637 12/30/2012
1.1.0 1,321 12/28/2012
1.0.4 1,401 12/28/2012
1.0.3 1,272 12/28/2012
1.0.2 1,285 12/28/2012
1.0.1 1,616 12/1/2012
1.0.0 2,328 12/1/2012

v 1.2.5138.19225
- replace locks in MemberCache w/ ConcurrentDictionary.
 increase lookup speed, and decrease code complexity

v 1.2.5137.27952
- added ShouldObscureValue and ObscureValueText: enables obscuring sensitive data.  
 use Funcs.MemberContainsPassword to hide properties containing password, pwd, salt, connstring and connectionstring

- fixed centralized configs, moving all configs to Configs static class.
- fixed bug in Funcs.IncludtType, where condition needed to be reversed.
- share reflection cache between inspectors for lifetime of appdomain
- add LazyDump extension method, same as Dump, but less likely to conflict with Dump methods from other assemblies.

v 1.1.1
- fixed bug where cached version of exception could be included in the context if ex.DumpToString()
was called and then later the exception was output not using that extension method.
- exception caching is now disabled by default and can be enabled via the config.
the cache will only be saved when dumping to string, but the cache will be reused when dumping to any source.

- adding TypeInspectorsRegistration to make it easy to add custom inspectors.
- renamed DefaultTypeInspector to CatchAllTypeInspector
- removed InspectorsWithAllTypesInspected and InspectorsWithMsTypesToStringed in favor of TypeInspectorsRegistration

v 1.0.4
- fixed bug where NonSerializableWrapper was being printed.  added smoke tests.
- fixed bug where empty enumerable could print poorly and lose data.  added smoke tests.