Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8669135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:23:50+00:00 2026-06-12T18:23:50+00:00

My aim is to have package restore working on a build server so that

  • 0

My aim is to have package restore working on a build server so that I don’t have to check in binaries. At the moment, I’m simply trying to get it to work on my own machine using Visual Studio.

Here’s what I’ve done so far:

  1. Followed the instructions here http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages, including both setting the Tools-Options flag and the environment variable (belt and braces)
  2. Installed the NuGetEnablePackageRestore package as suggested here NuGet package restore consent without NuGet
  3. Checked everything in (the .nuget solution folder and its contents), but not the binaries I want to reference, because that’s the whole point of the exercise

Here’s what I’m doing:

  1. Check out solution
  2. Verify that nunit.framework.dll and moq.dll are not present in the checked out solution
  3. Build the solution

Visual Studio complains that Moq is missing. I search for the dlls in the solution directory and find that:

  1. nunit.framework.dll is present in the appropriate bin folders
  2. Moq.dll is nowhere to be found

But there’s more. This is truly mysterious, but if I do a fresh checkout, disconnect from the internet and build, I get precisely the same results – nunit.framework.dll is there, but moq.dll is not. The build process has conjured nunit.framework.dll literally from nowhere.

So it’s something of an understatement to say that I am completely baffled. Can anyone suggest answers to the following questions:

  1. Why is package restore not downloading Moq?
  2. Where on earth is the build process getting nunit.framework.dll, if not the internet?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:23:51+00:00Added an answer on June 12, 2026 at 6:23 pm

    Okay, I noticed in the documentation that enabling package restore was supposed to modify project files in order to add a new target. My project files did not have this change. Right-clicking the solution title in VS and selecting ‘Manage NuGet packages…’ then added the required changes and everything built as it should.

    I checked, and package restore still appears to work when I have no internet access, so I’m still mystified about that. Does NuGet maintain some kind of cache of binaries outside the solution?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My ultimate aim is to have a table that looks like this: Maturity Band
Suppose that I have n points (x,y1),(x2,y2),.....(xn,yn) my aim is to connect these points
I have a real-life example that I have in my project below. My aim
I am trying to install scaffolding package in VS2010 SP1 in MVC4(aim is to
I'm trying to build binutils 2.21 source code with debugging on. My main aim
It seems some web architects aim to have a stateless web application. Does that
The aim is that I have a pair of radio buttons and each pair
I have build a Debian package out of a Python project which depends on
My aim is to have a picture drawn on one device to be duplicated
Here is my page: http://budclarychevy.com/custom/parts-specials-test My aim is to have the images clickable and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.