Giter Club home page Giter Club logo

Comments (7)

smudge202 avatar smudge202 commented on July 28, 2024 1

Fair one, really easy to implement. If @stajs doesn't beat me to it (and I remember) I'll take a crack later today.

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

Forgive me, I don't understand what the issue is. My best guess at what you are reporting, is that dotnet restore doesn't cache packages in the right location? If that is true, it seems a bug in either dotnet CLI or NuGet?

from specflow.netcore.

erik-inkapool avatar erik-inkapool commented on July 28, 2024

I think he is refering to us incorrectly assuming that nuget packages are located under userprofile/.nuget when we are trying to find the specflow executable. See lines 19 and 21 in Fixer.cs https://github.com/stajs/SpecFlow.NetCore/blob/master/src/SpecFlow.NetCore/Fixer.cs#L21

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

Ah, gotcha.

from specflow.netcore.

alexsaare avatar alexsaare commented on July 28, 2024

Apologies for the lack of clarity here.

Eric is correct. It is assumed that the path of the specflow exe is in the default location however if the NUGET_PACKAGES environment variable has been set then the location will be different.

If I get 5 minutes later today I'll create a pull myself if nobody beats to it.

Thanks for the quick responses guys.

from specflow.netcore.

smudge202 avatar smudge202 commented on July 28, 2024

Added a comment to the commit about falling through if the path fails, possibly a better option?

from specflow.netcore.

stajs avatar stajs commented on July 28, 2024

I was on the fence about it.

The first cut had it falling through, but it felt wrong - I thought if you had the environment variable set, you would want to know it isn't right?

Also added a --specflow-path argument in case you don't want to use an environment variable.

from specflow.netcore.

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.