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

How to get ILRepack executable? #601

Closed
AnderssonPeter opened this issue Dec 22, 2015 · 4 comments
Closed

How to get ILRepack executable? #601

AnderssonPeter opened this issue Dec 22, 2015 · 4 comments
Milestone

Comments

@AnderssonPeter
Copy link

I just tried to run the ILRepack executable but its giving me the error ILRepack: Could not locate executable. my first thought was that it could not find the primaryAssembly so I tested different variations for about an hour, but my current guess is that it can't find the ILRepack under tools? but how do I get it there?

Note: I get the exact same error if I try ILMerge and I have installed ILMerge on my computer?

@devlead
Copy link
Member

devlead commented Dec 22, 2015

You can fetch ILRepack via the #tool directive which fetches it from Nuget.

I.e.

#tool "ILRepack"

@devlead
Copy link
Member

devlead commented Dec 22, 2015

You can read more about tool resolution here:
http://cakebuild.net/docs/tools/tool-resolution

@AnderssonPeter
Copy link
Author

Thanks that solved my problem, maybe it would be a good idea to add this information to http://cakebuild.net/dsl/ilrepack and http://cakebuild.net/dsl/ilmerge ?

gep13 added a commit to gep13/cake that referenced this issue Jan 10, 2016
- About how to include the necessary tool to get the aliases working correctly
gep13 added a commit to gep13/cake that referenced this issue May 17, 2016
- About how to include the necessary tool to get the aliases working correctly
gep13 added a commit to gep13/cake that referenced this issue May 17, 2016
- About how to include the necessary tool to get the aliases working correctly
@gep13 gep13 added this to the v0.12.0 milestone May 17, 2016
@devlead
Copy link
Member

devlead commented May 17, 2016

Fixed by #632

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

No branches or pull requests

3 participants