It is a engine that generates PDF and image files based on HTML template files.
Before build the project, it is necessary create a file that will contain the secret token
to protect PDF files. This file must be in the root of user the profile.
cd $env:userprofile
new-item .RodStu-razor-secretnotepad.exe .\.RodStu-razor-secretOpen up the solution file Template Engine.sln in Visual Studio.
Change startup project to cmd and change the solution platform to x64, as the image below:
Build the project.
If in Visual Studio, just Run the cmd project with F5.
Or navigate to the bin folder:
cd ..\<project-folder>\cmd\bin\x64To generate HTML, HTML with password, PDF and PDF with password, just do:
cmd.exe

