Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T4 macro is broken (0.6.1.6) #19

Closed
PhilipDaniels opened this issue Jan 31, 2015 · 4 comments
Closed

T4 macro is broken (0.6.1.6) #19

PhilipDaniels opened this issue Jan 31, 2015 · 4 comments
Assignees

Comments

@PhilipDaniels
Copy link

Create a brand new console app and create Main.usage.txt as shown in the docs. T4DocoptNet.tt contains this line:

<#@ assembly name="c:\temp\ConsoleApplication2\packages\docopt.net.0.6.1.6DocoptNet.dll"  #>

which refers to a file that does not exist. I changed it to

<#@ assembly name="C:\Temp\ConsoleApplication2\packages\docopt.net.0.6.1.6\lib\net40\DocoptNet.dll" #>

which does exist, but still getting

ErrorGeneratingOutput

in my T4DocoptNet.cs.

@voieducode
Copy link
Member

Is there a backslash missing before the dll name?


Sent from Mailbox

On Sat, Jan 31, 2015 at 2:30 AM, PhilipDaniels notifications@github.com
wrote:

Create a brand new console app and create Main.usage.txt as shown in the docs. T4DocoptNet.tt contains this line:
<#@ assembly name="c:\temp\ConsoleApplication2\packages\docopt.net.0.6.1.6DocoptNet.dll" #>
which refers to a file that does not exist. I changed it to
<#@ assembly name="c:\temp\ConsoleApplication2\packages\docopt.net.0.6.1.6DocoptNet.dll #>
which does exist, but still getting
ErrorGeneratingOutput

in my T4DocoptNet.cs.

Reply to this email directly or view it on GitHub:
#19

@PhilipDaniels
Copy link
Author

Well yes...in fact "\lib\net40" is missing as well. The path is simply invalid. But even if you point it to a valid DLL it still gives an error when generating.

@Spiralis
Copy link

Spiralis commented Sep 1, 2015

I had the same problem, but fixing the path fixed the compilation error for me.

@voieducode voieducode self-assigned this Jun 4, 2016
@voieducode
Copy link
Member

Got a fix in install.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants