build error for 3.5 nuGet

paulbprc's Avatar


16 Feb, 2017 04:53 PM


I started to use 3.5 version of NuGet but it is giving me this error.
You are trying to build with OctoPack, but the NuGet targets file that OctoPack depends on is not available on this computer.
This is probably because the OctoPack package has not been committed to source control, or NuGet Package Restore is not enabled.
Please enable NuGet Package Restore to download them. For more information, see
How can I resolve this?

  1. Support Staff 1 Posted by Dalmiro Grañas on 16 Feb, 2017 07:46 PM

    Dalmiro Grañas's Avatar


    Thanks for reaching out! The error says the nuget Targets file is missing, meaning the file shown below is not there at the time of executing Octopack:

    It sounds like you are either not restoring the Octopack nuget package during the build, or that you haven't commited all the files the package adds to your solution (among them, this /tools/Octopack.targets file).


  2. 2 Posted by paulbprc on 17 Feb, 2017 02:57 PM

    paulbprc's Avatar

    Thanks for your support.

    I tried using restore mode but still having build error.
    This is the error message I am getting.

    [23:43:18][pack] Could not find a part of the path 'C:\bin'.
    [23:43:18][pack] Process exited with code 1
    [23:43:18][Step 4/5] Step NuGet Pack failed

  3. Support Staff 3 Posted by Dalmiro Grañas on 20 Feb, 2017 06:31 PM

    Dalmiro Grañas's Avatar


    Unfortunately I'm gonna need a bit more info to know where this error is coming from. Every time you have a build error, please try to attach the full build log so we can see the whole context :)

    Looking forward to see that log!

  4. Support Staff 4 Posted by Dalmiro Grañas on 20 Feb, 2017 06:31 PM

    Dalmiro Grañas's Avatar

    Oh and remember to click on the MAKE PRIVATE button on the right and side of this screen if your log has sensitive data that you don't want to share with anyone besides our staff.

  5. Paul Stovell closed this discussion on 22 May, 2017 01:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac