joachim-heck / generator

Type Generator: No framework. No magic. Just code. 100% debuggable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KY.Generator

Setup for Visual Studio

.net Core

Install nuget package KY.Generator.CLI.Core.Standalone

All dependencies are included. At least .net Core 2.0 is required

For lower framework version please create an issue and we will try to support your version

Add an generator.json configuration file (see Wiki)
and add an Pre-build event

dotnet "%USERPROFILE%\.nuget\packages\ky.generator.cli.core.standalone\2.5.0\tools\KY.Generator.dll" "$(ProjectDir)generator.json" "$(SolutionDir)ClientApp\src\app"

.net Framework

Install nuget package KY.Generator.CLI.Standalone

All dependencies are included. At least .net Framework 4.6 is required

For lower framework version please create an issue and we will try to support your version

Add an generator.json configuration file (see Wiki)
and add an Pre-build event

"$(SolutionDir)packages\ky.generator.cli.standalone.2.5.0\tools\KY.Generator.exe" "$(ProjectDir)generator.json" "$(SolutionDir)ClientApp\src\app"
"<path-to-KY.Generator.exe>" "<path-to-configuration-file>" "<output-path>"

.net Standard

Install nuget package KY.Generator.CLI.Standalone

All dependencies are included. At least .net Standard 2.0 is required

For lower framework version please create an issue and we will try to support your version

Add an generator.json configuration file (see Wiki)
and add an Pre-build event

"%USERPROFILE%\.nuget\packages\ky.generator.cli.standalone\2.5.0\tools\KY.Generator.exe" "$(ProjectDir)generator.json" "$(SolutionDir)ClientApp\src\app"

Setup for Console/Powershell

Download KY.Generator.exe from Releases

Run with configuration file

Use an .json configuration file (see Wiki)
and run in cmd:

KY.Generator configuration.json Output
KY.Generator <path-to-configuration-file> <output-path>

Run a command

Run a command (see Wiki)

KY.Generator.exe reflection -assembly=KY.Generator.Examples.Reflection.dll -name=ExampleType -namespace=KY.Generator.Examples.Reflection -relativePath=Output -language=TypeScript

More Informations

For complete overview see our Wiki

About

Type Generator: No framework. No magic. Just code. 100% debuggable.

License:GNU General Public License v3.0


Languages

Language:C# 100.0%