Category: roslyn
-
What I use for a csproj for a Roslyn Code Generator
My csproj file looks like this And now a detailed explanation Project Sdk <Project Sdk=”Microsoft.NET.Sdk”> This tag specifies the SDK to use for the project. The Microsoft.NET.Sdk is a general-purpose SDK for .NET projects. PropertyGroup <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <LangVersion>12.0</LangVersion> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <IsRoslynComponent>true</IsRoslynComponent> <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> </PropertyGroup> TargetFramework: Targets .NET Standard 2.0,ensuring compatibility with a wide range of .NET…
-
RSCG – Pure.DI
RSCG – Pure.DI name Pure.DI nuget https://www.nuget.org/packages/Pure.DI/ link https://github.com/DevTeam/Pure.DI author Nikolay Pianikov Constructing injecting container This is how you can use Pure.DI . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Pure.DI
-
RSCG – ConstructorGenerator
RSCG – ConstructorGenerator name ConstructorGenerator nuget https://www.nuget.org/packages/ConstructorGenerator/ link https://github.com/Swarley97/ConstructorGenerator author Swarley97 Generate constructor for classes This is how you can use ConstructorGenerator . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/ConstructorGenerator
-
RSCG – Valuify
RSCG – Valuify name Valuify nuget https://www.nuget.org/packages/Valuify/ link https://github.com/MooVC/valuify author Paul Martins Generating Equals from properties This is how you can use Valuify . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Valuify
-
RSCG – Equatable.Generator
RSCG – Equatable.Generator name Equatable.Generator nuget https://www.nuget.org/packages/Equatable.Generator/ link https://github.com/loresoft/Equatable.Generator author Eden Prairie Generating Equals from properties This is how you can use Equatable.Generator . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Equatable.Generator
-
RSCG – Darp.BinaryObjects
RSCG – Darp.BinaryObjects name Darp.BinaryObjects nuget https://www.nuget.org/packages/Darp.BinaryObjects/ link https://github.com/rosslight/Darp.BinaryObjects author Ross Light GmbH Serialize bits of data This is how you can use Darp.BinaryObjects . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Darp.BinaryObjects
-
RSCG – Dolly
RSCG – Dolly name Dolly nuget https://www.nuget.org/packages/Dolly/ link https://github.com/AnderssonPeter/Dolly author Peter Andersson Clone objects with ease. This is how you can use Dolly . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Dolly
-
RSCG – Dapper.AOT
RSCG – Dapper.AOT name Dapper.AOT nuget https://www.nuget.org/packages/Dapper.AOT/ link https://aot.dapperlib.dev/ author Marc Gravell Generating AOT code for Dapper -hydrating classes from SQL queries. This is how you can use Dapper.AOT . The code that you start with is The code that you will use is The code that is generated is Code…
-
RSCG – Microsoft.Windows.CsWin32
RSCG – Microsoft.Windows.CsWin32 name Microsoft.Windows.CsWin32 nuget https://www.nuget.org/packages/Microsoft.Windows.CsWin32/ link https://github.com/microsoft/CsWin32 author Microsoft Generating WinAPI code in C# This is how you can use Microsoft.Windows.CsWin32 . The code that you start with is The code that you will use is The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/Microsoft.Windows.CsWin32
-
RSCG – GoLive.Generator.BlazorInterop
RSCG – GoLive.Generator.BlazorInterop name GoLive.Generator.BlazorInterop nuget https://www.nuget.org/packages/GoLive.Generator.BlazorInterop/ link https://github.com/surgicalcoder/BlazorInteropGenerator author surgicalcoder Generating interop from C# to javascript for Blazor This is how you can use GoLive.Generator.BlazorInterop . The code that you start with is The code that you will use is The code that is generated is Code and pdf at…