Click here to Skip to main content
15,896,453 members
Articles / Programming Languages / C# 8.0

Boilerplate Guide to Creating a Source Generator - Part 2

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
18 Jan 2024MIT3 min read 2.4K   2  
A series of 6 articles to provide you with a boilerplate guide to create Source Generators
This tutorial instructs users to create a .NET Standard 2.0 Class Library for a source generator, emphasizing specific project modifications, addition of necessary NuGet packages, and providing a basic infrastructure with objects like BaseClass, Comparers, Models, and BaseGenerator to facilitate the creation of a reusable source generator for multiple projects, with optional modifications outlined for customization.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer (Senior) Webbert Solutions
United States United States
Dave is an independent consultant working in a variety of industries utilizing Microsoft .NET technologies.

Comments and Discussions