- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Supporting multiple .NET SDK versions in a source generator
Creating a source generator - Part 14
In this post I show how I updated my NetEscapades.EnumGenerators projects to support multi-targeting two different .NET SDK versions…

Supporting multiple .NET SDK versions in analyzers and source generators
In this post I describe why source generators might need to work with multiple versions of the .NET SDK and how NuGet packages support this in .NET 6…

Accessing MSBuild properties and user configuration from source generators
Creating a source generator - Part 13
In this post I describe how to read MSBuild settings from inside a source generator, and how to use this to allow user configuration of your generator…

Reading compilation options and the C# version in source generators
Creating a source generator - Part 12
In this post I show how to read details of a target project from a source generator, such as assembly name, the current configuration, or the c# version…

Implementing an interceptor with a source generator
Creating a source generator - Part 11
In this post I show how interceptors work, and how you can implement an interceptor using a source generator and the GetInterceptableLocation API…

Building LaTeX projects on Windows easily with Docker
In this post I describe how I build LaTeX projects on a Windows machine by using Docker and the blang/latex image…

