AaronSalisbury.DotNetFrameworkToolkit
0.3.0
dotnet add package AaronSalisbury.DotNetFrameworkToolkit --version 0.3.0
NuGet\Install-Package AaronSalisbury.DotNetFrameworkToolkit -Version 0.3.0
<PackageReference Include="AaronSalisbury.DotNetFrameworkToolkit" Version="0.3.0" />
<PackageVersion Include="AaronSalisbury.DotNetFrameworkToolkit" Version="0.3.0" />
<PackageReference Include="AaronSalisbury.DotNetFrameworkToolkit" />
paket add AaronSalisbury.DotNetFrameworkToolkit --version 0.3.0
#r "nuget: AaronSalisbury.DotNetFrameworkToolkit, 0.3.0"
#:package AaronSalisbury.DotNetFrameworkToolkit@0.3.0
#addin nuget:?package=AaronSalisbury.DotNetFrameworkToolkit&version=0.3.0
#tool nuget:?package=AaronSalisbury.DotNetFrameworkToolkit&version=0.3.0
<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
| Product | Versions 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. |
-
.NETFramework 2.0
- PatternsAndPractices.Cryptography (= 2.0.1)
- PatternsAndPractices.Logging (= 2.0.0)
- PatternsAndPractices.Unity (= 1.2.0)
- SqlServerCompact (= 4.0.8482.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
See https://github.com/aaron-salisbury/DotNetFrameworkToolkit/releases/tag/v0.3.0 for release notes.