Maksim Volkau

Results 268 comments of Maksim Volkau
trafficstars

Consider using mono t4 implementation which is actively developed and can be referenced as a CLI tool: https://github.com/mono/t4

Or may be this: https://github.com/Muchiachio/Genny

Use https://github.com/Konard/T4GenericsExample as an example with https://github.com/mono/t4 CLI tool reference

Related https://github.com/mono/t4/issues/70

Another good doc to check https://medium.com/@christopher.r.froehlich/code-generation-fail-an-all-the-kings-horses-tragedy-36dcd412ad05

Another example with step by step guide working on .NET Core 3.0 https://github.com/dadhi/T4Sample

T4 nuget package http://diegogiacomelli.com.br/deploying-a-t4-template-with-dotnet-pack/

Content-only NuGet package: https://medium.com/@attilah/source-code-only-nuget-packages-8f34a8fb4738

The POC solution is here https://github.com/dadhi/LempTest

Here is another template project for the source generators https://github.com/tom-englert/LogMessageGenerator/