JetBrains / ForTea

Apache License 2.0
56 stars 10 forks source link

HostSpecific=true breaks templates in subfolders #22

Closed pietervp closed 4 years ago

pietervp commented 4 years ago

Maybe this is a local problem. For me, it's very easy to reproduce:

Rider Build: #RD-193.5662.14

Repro project: ClassLibrary1.zip

hostspecific = false => no problem hostspecific = true => error message

Error message upon executing the template inside a subfolder: DocumentModel.tt(17, 30): [CS0234] The type or namespace name 'TextTransformation' does not exist in the namespace 'ClassLibrary1' (are you missing an assembly reference?)

amoerie commented 4 years ago

We're also seeing this problem.. Is there any way to make T4 templates work both in VS and in Rider?

kirillgla commented 4 years ago

Thank you for the report! This issue has been fixed and will be available in Rider starting around version 2020.1 EAP3