Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet 8.0 not working #57

Closed
flozano opened this issue Apr 21, 2024 · 2 comments · Fixed by #58
Closed

dotnet 8.0 not working #57

flozano opened this issue Apr 21, 2024 · 2 comments · Fixed by #58

Comments

@flozano
Copy link

flozano commented Apr 21, 2024

I'm able to install globally:

$ dotnet tool install --global dotnet-releaser

Tool 'dotnet-releaser' was reinstalled with the stable version (version '0.8.5').

But then when I try to use:

$ dotnet releaser new

You must install or update .NET to run this application.

App: /Users/flozano/.dotnet/tools/dotnet-releaser
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (arm64)
.NET location: /usr/local/share/dotnet

The following frameworks were found:
  8.0.4 at [/usr/local/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=7.0.0&arch=arm64&rid=osx-arm64&os=osx.14

my project uses dotnet 8.0.

@FrediKats
Copy link
Contributor

@flozano, Message "You must install or update .NET to run this application" is related to dotnet-releaser, not to your application. So, your problem is "dotnet-releaser use .NET 7 and .NET 7 is required for running dotnet-releaser".
As a workaround you can install .NET 7 runtime. I don't need to change your project's target, just install to your machine.

@flozano
Copy link
Author

flozano commented May 12, 2024

ah, I see. thanks for the answer!

@xoofx xoofx closed this as completed in #58 May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants