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

The path in T4DocoptNet.tt is incorrect #15

Closed
dhilgarth opened this issue Aug 26, 2014 · 1 comment
Closed

The path in T4DocoptNet.tt is incorrect #15

dhilgarth opened this issue Aug 26, 2014 · 1 comment

Comments

@dhilgarth
Copy link
Contributor

The path to DocoptNet.dll inside T4Docoptnet.tt was incorrect and I had to adjust it manually.

According to the comment above it, this seems to be a problem with the install.ps1 script.

In my case, the correct path was $(SolutionDir)..\packages\nuget\docopt.net.0.6.1.5\lib\net40\DocoptNet.dll but it got created as $(SolutionDir)packages\docopt.net.0.6.1.5\lib\net40\DocoptNet.dll

Hint: I am using a nuget.config in my solutions root folder to change to packages path.

I would guess that changing this line:

$p = '$(SolutionDir)' + "packages\" + $package.Id + "." + $package.Version + "\lib\net40\DocoptNet.dll"

to this

$p = $installPath + "DocoptNet.dll"

will fix that bug.

Unfortunately, I don't see how I could test this, so I can't fix it myself.

@voieducode
Copy link
Member

Yeah I think you are right @dhilgarth, $installPath has the precomputed path.

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

2 participants