Giter VIP home page Giter VIP logo

Comments (4)

navyjax2 avatar navyjax2 commented on August 22, 2024

Resolved issue by using NuGet Package Manager to download Moq v4.9.0, with its dependencies, from nuget.org via Visual Studio directly into my Unit Test project. Did not bother to compile version from GitHub.

from labs.

stakx avatar stakx commented on August 22, 2024

@navyjax2: Seems like you reported at the wrong repo. If you're talking about Moq v4, visit https://github.com/moq/moq4. This here repository is for Moq v5 (which is still being developed).

That being said you appear to have run into a failed NuGet package restore. Should've been easy enough to resolve by triggering the Build once more, or perhaps by reopening the solution. That's quite possibly just one of the usual VS glitches.

If you just want to use Moq (and not actually modify / bugfix / develop with its source) then consuming the precompiled Moq NuGet package is definitely the right way to go.

from labs.

kzu avatar kzu commented on August 22, 2024

This is something I should improve in this repo anyway, I think... Will keep it open for now

from labs.

navyjax2 avatar navyjax2 commented on August 22, 2024

Yeah, I think I just needed Moq v4, instead, since 5 is obviously still under development. Once I consumed v4 via NuGet install, I was fine. But like kzu said, it's valid to ensure that Git dependencies are taken care of.

from labs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.