Giter Club home page Giter Club logo

Comments (7)

zarenner avatar zarenner commented on May 12, 2024 1

Discussing changes to docs in #95

from artifacts-credprovider.

zarenner avatar zarenner commented on May 12, 2024

Hi @AMoghrabi,

When you installed the credential provider, did you use the -AddNetfx option (or manually copy the netfx folder)? nuget.exe uses the .NET Framework version of the credential provider in %userprofile%/.nuget/plugins/netfx, as opposed to the one in %userprofile%/.nuget/plugins/netcore.

You should be able to run "nuget.exe restore ..." (as long as you don't pass -NonInteractive), running msbuild first is not required.

from artifacts-credprovider.

AMoghrabi avatar AMoghrabi commented on May 12, 2024

Hello @zarenner,

Thanks for the reply. I did not copy the netfx folder because I thought it wasn't required. I misunderstood this piece of the documentation found in the README:

Note: copying the netfx directory is not recommended unless you don't plan to install an edition of Visual Studio (including the Build Tools edition). All Visual Studio editions come with (and automatically update) the netfx version of the Credential Provider.

My apologies, and thanks for clarifying 👍 I'll give this a shot and close the issue if it works out.

from artifacts-credprovider.

AMoghrabi avatar AMoghrabi commented on May 12, 2024

Your solution worked, thanks again. Would you mind clarifying the text I quoted above? I'm still a little confused about what it's trying to communicate.

from artifacts-credprovider.

zarenner avatar zarenner commented on May 12, 2024

That documentation confuses me as well, to be honest. I believe it may be incorrect - while VS does come with the credential provider (since the Package Manager in VS uses it), it's not in a path that the nuget.exe plugin discovery mechanism will find.

Let me confirm this, and if that's indeed the case we'll get that documentation updated. Sorry for the confusion.

from artifacts-credprovider.

AMoghrabi avatar AMoghrabi commented on May 12, 2024

Not a problem! I appreciate the quick responses.

from artifacts-credprovider.

zarenner avatar zarenner commented on May 12, 2024

Updated docs, closing this issue. Thanks for reporting, I'm sure it'll help others confused by the documentation as well. Please let me know if anything is still confusing.

from artifacts-credprovider.

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.