NeVeSpl / NTypewriter

File/code generator using Scriban text templates populated with C# code metadata from Roslyn API.
https://nevespl.github.io/NTypewriter/
MIT License
126 stars 25 forks source link

local configuration is not working #32

Closed mustafa-issa closed 3 years ago

mustafa-issa commented 3 years ago

only global configs are working correctly. below .nt file

{{ config.ProjectsToBeSearched = ["ClassLibrary1"] }}

     {{- capture output
       for class in data.Classes 
           class.Name | String.Append "\r\n"
      end
   end
   Save output "index.txt"
   }}

is generating: Program Class1

while Class1 exists inside the ClassLibrary1 project while the Program class in another project