CodePointEnumGenerator 1.0.0.33

There is a newer version of this package available.
See the version list below for details.
dotnet add package CodePointEnumGenerator --version 1.0.0.33
NuGet\Install-Package CodePointEnumGenerator -Version 1.0.0.33
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="CodePointEnumGenerator" Version="1.0.0.33" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodePointEnumGenerator --version 1.0.0.33
#r "nuget: CodePointEnumGenerator, 1.0.0.33"
#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 CodePointEnumGenerator as a Cake Addin
#addin nuget:?package=CodePointEnumGenerator&version=1.0.0.33

// Install CodePointEnumGenerator as a Cake Tool
#tool nuget:?package=CodePointEnumGenerator&version=1.0.0.33

CodePointEnumGenerator

A C# source generator that generates enums for all font codepoint files are contained in the project as Additional Files.

Each resulting enum can be used for strongly-typed references to the byte value of specific glyphs in the associated font.

To Use

  1. Reference the Generator package as an analyzer:
<ItemGroup>
    <PackageReference Include="CodePointEnumGenerator"
                      Version="1.0.0.30"
                      OutputItemType="Analyzer"
                      ReferenceOutputAssembly="false" />
</ItemGroup>
  1. Include codepoints files for fonts with a build action of AddtionalFiles.
  2. Rebuild the solution.

Troubleshooting

The Source Generators folder should appear under Dependencies\.NET 6.0 for the project that references the generator. There should also be a separate generated C# file that contains the enum for each codepoints file in the project. If either or both of these are not the case:

  • Verify that the generator project is referenced as an Analyzer.
  • Verify that the codepoints files have a build action of AdditionalFiles.
  • Clean the solution and then rebuild.
  • Close the solution, delete the bin and obj folders for the project, then reopen the solution and rebuild.
There are no supported framework assets in this 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
1.0.0.54 306 9/9/2023
1.0.0.53 259 9/9/2023
1.0.0.52 171 7/17/2023
1.0.0.51 139 7/17/2023
1.0.0.50 165 7/15/2023
1.0.0.46 369 2/2/2023
1.0.0.45 332 1/29/2023
1.0.0.44 309 1/29/2023
1.0.0.43 271 1/28/2023
1.0.0.42 314 1/28/2023
1.0.0.41 316 1/26/2023
1.0.0.40 367 1/4/2023
1.0.0.39 303 1/3/2023
1.0.0.38 322 1/2/2023
1.0.0.33 306 12/31/2022