CodePointEnumGenerator 1.0.0.65
dotnet add package CodePointEnumGenerator --version 1.0.0.65
NuGet\Install-Package CodePointEnumGenerator -Version 1.0.0.65
<PackageReference Include="CodePointEnumGenerator" Version="1.0.0.65" />
<PackageVersion Include="CodePointEnumGenerator" Version="1.0.0.65" />
<PackageReference Include="CodePointEnumGenerator" />
paket add CodePointEnumGenerator --version 1.0.0.65
#r "nuget: CodePointEnumGenerator, 1.0.0.65"
#addin nuget:?package=CodePointEnumGenerator&version=1.0.0.65
#tool nuget:?package=CodePointEnumGenerator&version=1.0.0.65
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.
Links
To Use
- Reference the Generator package as an analyzer:
<ItemGroup>
<PackageReference Include="CodePointEnumGenerator"
Version="1.0.0.39"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false" />
</ItemGroup>
- Include codepoints files for fonts with a build action of
AddtionalFiles
. - Rebuild the solution.
Troubleshooting
The Source Generators
folder should appear under Dependencies\.NET 9.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 ofAdditionalFiles
. - Clean the solution and then rebuild.
- Close the solution, delete the bin and obj folders for the project, then reopen the solution and rebuild.
Build Pipeline
- Requires a Github personal access token with read/write on Contents
- Requires a Nuget API key
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- 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 |
---|---|---|
1.0.0.65 | 97 | 3/2/2025 |
1.0.0.64 | 97 | 3/2/2025 |
1.0.0.63 | 124 | 2/8/2025 |
1.0.0.62 | 92 | 2/8/2025 |
1.0.0.59 | 107 | 11/16/2024 |
1.0.0.54 | 384 | 9/9/2023 |
1.0.0.53 | 305 | 9/9/2023 |
1.0.0.52 | 207 | 7/17/2023 |
1.0.0.51 | 172 | 7/17/2023 |
1.0.0.50 | 198 | 7/15/2023 |
1.0.0.46 | 407 | 2/2/2023 |
1.0.0.45 | 370 | 1/29/2023 |
1.0.0.44 | 344 | 1/29/2023 |
1.0.0.43 | 306 | 1/28/2023 |
1.0.0.42 | 351 | 1/28/2023 |
1.0.0.41 | 353 | 1/26/2023 |
1.0.0.40 | 403 | 1/4/2023 |
1.0.0.39 | 341 | 1/3/2023 |
1.0.0.38 | 361 | 1/2/2023 |
1.0.0.33 | 345 | 12/31/2022 |