Comments (12)
Thanks for opening your first issue! Reports like these help improve the project!
from azure-cost-cli.
I dropped the .NET 7 support (4114a6a) as it is not a long-term supported version and will be end of support soon.
But still; you do have .net 8 installed, so that is what it should use. Can you reinstall version 8?
from azure-cost-cli.
@championchunk any luck? Were you able to solve this issue?
from azure-cost-cli.
@mivano unfortunately not.. according to the message the command is searching for .Net 6 but i only have .Net 7 and .Net 8 installed.
from azure-cost-cli.
Do you have the latest version? Did you try an upgrade?
dotnet tool update --global azure-cost-cli
from azure-cost-cli.
yes i updated to version 0.39.0 but the message remains the same:
You can invoke the tool using the following command: azure-cost
Tool 'azure-cost-cli' (version '0.39.0') was successfully installed.
PS /home/username> azure-cost detectAnomalies -s 2b9fea8e-4bbe-48fc-a9c0-a159dbd4d14c --dimension ResourceGroupName --significant-change 0.1 --recent-activity-days 5 --threshold-cost 10
You must install or update .NET to run this application.
App: /home/username/.dotnet/tools/azure-cost
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.0' (x64)
.NET location: /usr/share/dotnet
The following frameworks were found:
7.0.16 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
8.0.2 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=linux-x64&os=mariner.2.0
from azure-cost-cli.
@mivano Having the sam issue. Any update?
from azure-cost-cli.
Sorry not yet. I cant reproduce it, so will need some more time.
from azure-cost-cli.
weird one.
I tested installing on Ubuntu 22.04 via global and local with only dotnet 8 SDK installed (8.0.5) and works fine.
I assume you are installing using global flag?
Have you tried uninstall command and then install again? Making sure the executable file is removed when uninstalled.
(executable would be /home/tom/.dotnet/tools/azure-cost)
I would also try uninstalling dotnet 7 and ensuring you only have latest dotnet 8 SDK installed.
Checking the build of azure-cost-cli it builds for dotnet 6 and dotnet 8 - not sure how the tool decides which one to pull or if both are packaged in same executable.
Another option is to install dotnet 6 SDK?
from azure-cost-cli.
I got this to work as a workaround using this env var: export DOTNET_ROLL_FORWARD=Major.
This was in the azure cloud shell which has both 7.0 and 8.0 installed:
The following frameworks were found:
7.0.17 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
8.0.3 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]
from azure-cost-cli.
Thanks for checking. The Nuget page shows that 6 and 8 are included.
That tip for uninstalling and reinstalling might be something. The Nuget package contains both, so maybe during installation, it places one in a dedicated folder on the path?
from azure-cost-cli.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from azure-cost-cli.
Related Issues (20)
- Monthly issue metrics report
- incorrect value for accumulatedCost report Last 30 days: HOT 3
- incorrect time span for accumulatedCost report last 7 days cost includes 8 days in range HOT 5
- Monthly issue metrics report
- getting 400 error HOT 3
- The grain Hourly not works HOT 3
- Piping the output to a file hides actual errors HOT 3
- Monthly issue metrics report
- Bug - Missing subscription ID. Please specify a subscription ID or login to Azure CLI HOT 3
- Rate limiting not using latest rate-limiting http headers
- Federated credentials HOT 5
- zsh: command not found: azure-cost HOT 2
- 400 bad request HOT 4
- Missing resources : HOT 4
- Monthly issue metrics report
- Monthly issue metrics report
- Resource Group not being contained in the export when having dimension ResourceGroup HOT 3
- CSV Output support for 'azure-cost budgets -s xxx-xxx-xxx -o csv' HOT 2
- azure-cost what-if region -s xxx-xxx-xxx throwing error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cost-cli.