akanse.SourceGeneratorToolkit 0.1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package akanse.SourceGeneratorToolkit --version 0.1.0.1
                    
NuGet\Install-Package akanse.SourceGeneratorToolkit -Version 0.1.0.1
                    
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="akanse.SourceGeneratorToolkit" Version="0.1.0.1">
  <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="akanse.SourceGeneratorToolkit" Version="0.1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="akanse.SourceGeneratorToolkit">
  <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 akanse.SourceGeneratorToolkit --version 0.1.0.1
                    
#r "nuget: akanse.SourceGeneratorToolkit, 0.1.0.1"
                    
#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 akanse.SourceGeneratorToolkit@0.1.0.1
                    
#: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=akanse.SourceGeneratorToolkit&version=0.1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=akanse.SourceGeneratorToolkit&version=0.1.0.1
                    
Install as a Cake Tool

SourceGeneratorToolKit

Useful tools for generating code in C# and other languages.

Features

Design

  • SourceGeneratorToolkit is developed as a Source Generator itself.
    • Necessary features are exposed with internal visibility within the target project.
    • Compiler infrastructure types under System.Runtime.CompilerServices are also expanded when necessary.

Classes

  • SourceBuilder: Formatted source code generator
  • CodePart: Represents a part of the source code
  • SourceStringHandler: String interpolation handler for source code generation

License

Apache License Version 2.0

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.1.1 116 5/17/2025
0.1.0.1 69 5/10/2025
0.1.0 73 5/10/2025