Source Generator Debug always NulLReferecneException

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    Not sure which video you're referring to, but anyway, the correct API is IIncrementalGenerator, which you can find some docs for here. Disclaimer: yes, it's an extremely complicated API to use, and only meant to be used by advanced developers in very specific scenarios. If you do decide to write a generator, don't go in expecting it's something you can figure out in a weekend.

  • dotnet

    .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation. (by CommunityToolkit)

    Here's some: - MVVM Toolkit - PolySharp - ComputeSharp

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • PolySharp

    PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀

    Here's some: - MVVM Toolkit - PolySharp - ComputeSharp

  • ComputeSharp

    A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀

    Here's some: - MVVM Toolkit - PolySharp - ComputeSharp

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts