-
Notifications
You must be signed in to change notification settings - Fork 237
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
Not able to run AvalonStudio binary #774
Comments
try this in application folder: |
What's wrong? |
You may need to upgrade your Avalonia UI |
I am running Ubuntu 22.04 with .net6. I followed Getting Started With AvalonStudio (Building from Source). The binary got built with a few warnings but that's OK. It created a net5.0 folder where it built the application. When I try to run it I get the same error as mentioned above. Net5 can't be installed as it requires libssl version which is old. So I tried giving it -f net6.0 but it doesn't work and I get a lot of errors. Then I tried editing the .json file and replaced all mention of net5.0 to net6.0 but thet gives me a lot of errors. Anyway, if the binary is getting built with net5.0 that's OK with me but is there a workaround to run it? @MateiIonutEduard 's comment seems relevant but I am not clear as to what to change and where. Regards, |
I found this fixed this issue for me on ubuntu 22.04:
|
I have installed dotnet
chandra@chandra-virtualbox:~/NEW_PROJ/AvalonStudio/AvalonStudio/AvalonStudio/bin/Debug/net5.0$ dotnet --info
.NET SDK (reflecting any global.json):
Version: 6.0.300
Commit: 8473146e7d
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /home/chandra/.dotnet/sdk/6.0.300/
Host (useful for support):
Version: 6.0.5
Commit: 70ae3df4a6
.NET SDKs installed:
5.0.408 [/home/chandra/.dotnet/sdk]
6.0.300 [/home/chandra/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.17 [/home/chandra/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [/home/chandra/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.17 [/home/chandra/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [/home/chandra/.dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
But when I run ./AvalonStudio it is throwing below error
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '5.0.17' was not found.
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
The text was updated successfully, but these errors were encountered: