clariuslabs / TransformOnBuild

Transform Text Templates On Build
Apache License 2.0
48 stars 17 forks source link

Macros like $(ProjectDir) are not working #30

Closed dhilgarth closed 8 years ago

dhilgarth commented 8 years ago

I have this in my template:

<#@ assembly name="$(ProjectDir)ContextGenerator.Entities.EF.dll" #>

It works when I save the T4 template in VS, but it is not working with TransformOnBuild. It says that it can't find the file.

lukemcgregor commented 8 years ago

+1 on this

strongwinderic commented 8 years ago

+1 on this =)

olograph commented 8 years ago

+1 on this

mnaoumov commented 8 years ago

@dhilgarth @lukemcgregor @erictrade @olograph Did you try to use my fork https://www.nuget.org/packages/Clarius.TransformOnBuild-unofficial/ ? It addresses this issue and many minor others

strongwinderic commented 8 years ago

hi @mnaoumov actually, after my comment here I found your fork and I'm using it until now. It works perfectly! Thanks for sharing!

mnaoumov commented 8 years ago

Fixed in #16