-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error in importing task if SolutionDir paramerter not available #5
Comments
@ancer - I believe I understand the issue you are having. Unfortunately, I didn't try NugetContentRestore Task with a "lonely" Web Project. I'll take a look at it and try to fix it a soon as I get some time. |
@panchilo - UsingTask AssemblyFile="MSBuild.NugetContentRestore.dll" TaskName="NugetContentRestoreTask" Now I use your task with this fix, but it is copied to my solution, not grabbed from NuGet. |
@ancer - Yes. I see what you are saying now. And you are right, the documentation says:
I'll fix it this week. |
@ancer - This is now fixed in version 0.1.6. You can update your package. Thanks and sorry for the delay. |
Error in importing task if SolutionDir parameter not available.
NugetContentRestore target uses $(SolutionDir) parameter, but it is unavailable in several specific cases when running msbuild from command line:
The problem is fixed by changing in file NugetContentRestore.targets UsingTask to this:
(No need to full path to assembly, it is relative to targets file)
Please, verify this and make a fix.
The text was updated successfully, but these errors were encountered: