Hardcoded.NET 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Hardcoded.NET --version 0.1.0
                    
NuGet\Install-Package Hardcoded.NET -Version 0.1.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="Hardcoded.NET" Version="0.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hardcoded.NET" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Hardcoded.NET">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Hardcoded.NET --version 0.1.0
                    
#r "nuget: Hardcoded.NET, 0.1.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 Hardcoded.NET@0.1.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=Hardcoded.NET&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Hardcoded.NET&version=0.1.0
                    
Install as a Cake Tool

Hardcoded.NET

Turn "hardcoding" into a performance feature.

Ironic, but accurate. Hardcoded.NET is a Source Generator that leverages Roslyn to convert resources into mapped constants. It gives you the maintainability of external files with the raw performance of string literals.

License: MIT

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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.2.1 105 3/2/2026
0.2.0 103 3/2/2026
0.1.0 102 2/24/2026