AaronSalisbury.DotNetFrameworkToolkit 0.3.0

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

<p align="left"> <img src="https://raw.githubusercontent.com/aaron-salisbury/DotNetFrameworkToolkit/refs/heads/master/content/logo.png" width="175" alt=".Net Framework Toolkit Logo"> </p>

.Net Framework Toolkit

Common C# app development and shim code for legacy .Net Framework 2.0 projects.

This library is in pre-alpha development and subject to significant change.

Purpose

I occasionally find myself in restricted deployment scenarios where I target legacy Windows platforms limited to .Net Framework. So I created this library to aid in maintenance and rapid development under those constraints.

Versioning

This project uses Semantic Versioning.

  • MAJOR version: Incompatible API changes
  • MINOR version: Backward-compatible functionality
  • PATCH version: Backward-compatible bug fixes

Version values live in version.props; the package/file version rules and stable assembly binding policy are documented in build and packaging.

Build Requirements

  • The shipped library targets .NET Framework 2.0 / CLR 2.0. The test project targets .NET Framework 4.8.1 and does not ship with the package.
  • Use Windows with Visual Studio 2022 MSBuild, the .NET Framework 4.8.1 developer pack and Visual Studio test tools, NuGet CLI on PATH, and the .NET 10 SDK for the Cake.Frosting build executable. The build restores the net20 reference assemblies through NuGet.
  • Modern C# syntax does not change the library's runtime target.

Run the tests from the repository root:

./build/build.ps1 --target=Test --configuration=Debug
./build/build.ps1 --target=Test --configuration=Release

Cake builds the solution before running MSTest through VSTest. Failed tests or zero discovered tests fail the build. TRX results are written to artifacts/test-results/<configuration>/; GitHub Actions runs the full Release image/package verification pipeline and uploads its artifacts and test results.

The default Release build also generates and verifies images, creates NuGet/symbol packages, and validates their contents:

./build/build.ps1 --configuration=Release

Validated packages and a hash/version report are written to artifacts/packages/Release/. See build and packaging for checks and version/tag rules, and releasing for GitHub Release and NuGet publishing.

Tests cover managed behavior and the pinned SQL CE provider/native runtime on CLR 4. The full Release pipeline also installs the built package and runs x86/x64 net20 consumers on CLR 2.0; enable the .NET Framework 3.5 Windows feature to run it locally. See consumer examples and compatibility for installation, migration guidance and the remaining platform limits.

Contributor Guidelines

Development Conventions | API Contracts

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  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.

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.3.0 442 10/3/2026
0.2.9 365 12/17/2025
0.2.8 320 12/17/2025
0.2.7 326 12/17/2025
0.2.6 301 8/26/2025
0.2.5 267 8/25/2025
0.2.4 269 8/25/2025
0.2.3 262 8/25/2025
0.2.2 232 8/17/2025
0.2.1 214 8/17/2025
0.2.0 219 8/17/2025
0.1.0 232 8/16/2025