GithubHelp home page GithubHelp logo

Comments (13)

welcome avatar welcome commented on May 26, 2024

Thanks for opening your first issue! Reports like these help improve the project!

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

I m unsure how to help with this, as it is the dotnet tool that reports this issue. I assume you followed the install instructions here: https://www.nuget.org/packages/azure-cost-cli ?

from azure-cost-cli.

soumyojit28 avatar soumyojit28 commented on May 26, 2024

still the issue is persist, as I am using with global and local

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

You do have the .net 6 or .net 7 runtime installed?

from azure-cost-cli.

soumyojit28 avatar soumyojit28 commented on May 26, 2024

I have tried from both but same error coming.

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

I do not think it has anything to do with this specific tool as it is not yet installed. Try to install another dotnet tool to rule out that your package sources and connection are working fine.

Might be something similar to dotnet/sdk#11325

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

Closing this one as I do not know how to solve this and it looks like an issue with the dotnet tool installer.

from azure-cost-cli.

hannesbreit avatar hannesbreit commented on May 26, 2024

I am facing the same issue and have no idea how to solve it. Followed the instructions but getting the same error.

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

What I noticed, is that most of the time this is due to a nuget configuration that is set incorrectly. You might have a corporate nuget feed added as well.

You could try to add --ignore-failed-sources to the dotnet command to see if that works.

Or try something like this:

dotnet tool update --global [tool] --add-source 'https://api.nuget.org/v3/index.json' --ignore-failed-sources

from azure-cost-cli.

hannesbreit avatar hannesbreit commented on May 26, 2024

awesome! that worked just like a charm

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

Perfect! What did the trick? The add-source or that ignore-failed-sources?

from azure-cost-cli.

hannesbreit avatar hannesbreit commented on May 26, 2024

it was the add-source

from azure-cost-cli.

mivano avatar mivano commented on May 26, 2024

Thanks, that forces the use of the specific nuget feed. If you execute dotnet nuget list source you might see others than the official api.nuget.org

from azure-cost-cli.

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.