Open GrantByrn3 opened 3 months ago
You have a really old aspire workload version installed.
cc @joperezr
Right. Can you please run:
dotnet workload update
dotnet workload install aspire
@joperezr - This is really confusing. Running those commands doesn't appear to change anything.
grant@fedora:~$ dotnet workload update
Skipping NuGet package signature verification.
Updated advertising manifest microsoft.net.workload.emscripten.net7.
Updated advertising manifest microsoft.net.sdk.ios.
Updated advertising manifest microsoft.net.workload.mono.toolchain.net6.
Updated advertising manifest microsoft.net.workload.emscripten.current.
Updated advertising manifest microsoft.net.sdk.tvos.
Updated advertising manifest microsoft.net.workload.emscripten.net6.
Updated advertising manifest microsoft.net.workload.mono.toolchain.net7.
Updated advertising manifest microsoft.net.sdk.maccatalyst.
Updated advertising manifest microsoft.net.workload.mono.toolchain.current.
Updated advertising manifest microsoft.net.sdk.macos.
Updated advertising manifest microsoft.net.sdk.android.
Updated advertising manifest microsoft.net.sdk.maui.
Updated advertising manifest microsoft.net.sdk.aspire.
Installing workload manifest microsoft.net.sdk.aspire version 8.1.0...
Installing workload manifest microsoft.net.sdk.android version 34.0.113...
Installing workload manifest microsoft.net.sdk.ios version 17.5.8020...
Installing workload manifest microsoft.net.sdk.maccatalyst version 17.5.8020...
Installing workload manifest microsoft.net.sdk.macos version 14.5.8020...
Installing workload manifest microsoft.net.sdk.maui version 8.0.72...
Installing workload manifest microsoft.net.sdk.tvos version 17.5.8020...
Installing pack Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2...
Installing pack Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2...
Pack Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2...
Installing pack Aspire.Hosting.Orchestration.linux-x64 version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting.Orchestration.linux-x64 version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting.Orchestration version 8.0.0-preview.1.23557.2...
Installing pack Aspire.Hosting version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting version 8.0.0-preview.1.23557.2...
Garbage collecting for SDK feature band(s) 8.0.100...
Uninstalling workload manifest microsoft.net.sdk.aspire version 8.1.0/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.android version 34.0.113/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.ios version 17.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.maccatalyst version 17.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.macos version 14.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.maui version 8.0.72/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.tvos version 17.5.8020/8.0.100...
Successfully updated workload(s): aspire.
grant@fedora:~$ dotnet workload install aspire
Workload(s) 'aspire' are already installed.
Skipping NuGet package signature verification.
Skipping NuGet package signature verification.
Installing workload manifest microsoft.net.sdk.aspire version 8.1.0...
Installing workload manifest microsoft.net.sdk.android version 34.0.113...
Installing workload manifest microsoft.net.sdk.ios version 17.5.8020...
Installing workload manifest microsoft.net.sdk.maccatalyst version 17.5.8020...
Installing workload manifest microsoft.net.sdk.macos version 14.5.8020...
Installing workload manifest microsoft.net.sdk.maui version 8.0.72...
Installing workload manifest microsoft.net.sdk.tvos version 17.5.8020...
Installing pack Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting.Sdk version 8.0.0-preview.1.23557.2...
Installing pack Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2...
Pack Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.ProjectTemplates version 8.0.0-preview.1.23557.2...
Installing pack Aspire.Hosting.Orchestration.linux-x64 version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting.Orchestration.linux-x64 version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting.Orchestration version 8.0.0-preview.1.23557.2...
Installing pack Aspire.Hosting version 8.0.0-preview.1.23557.2...
Pack Aspire.Hosting version 8.0.0-preview.1.23557.2 is already installed.
Writing workload pack installation record for Aspire.Hosting version 8.0.0-preview.1.23557.2...
Garbage collecting for SDK feature band(s) 8.0.100...
Uninstalling workload manifest microsoft.net.sdk.aspire version 8.1.0/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.android version 34.0.113/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.ios version 17.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.maccatalyst version 17.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.macos version 14.5.8020/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.maui version 8.0.72/8.0.100...
Uninstalling workload manifest microsoft.net.sdk.tvos version 17.5.8020/8.0.100...
Successfully installed workload(s) aspire.
grant@fedora:~$ dotnet workload list
Installed Workload Id Manifest Version Installation Source
-----------------------------------------------------------------------------------
aspire 8.0.0-preview.1.23557.2/8.0.100 SDK 8.0.100
Use `dotnet workload search` to find additional workloads to install.
Updates are available for the following workload(s): aspire. Run `dotnet workload update` to get the latest.
I was able to find a workaround with this. For whatever reason something is messed up with the version of .net that is install on my machine and I don't have a built in mechanism to update dotnet to the latest version.
My workaround here is to run through the dotnet install script guide here: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
This install a newer version of dotnet in my /home directory. I installed the latest workload via that dotnet install and then pointed Jetbrains Rider to use that version. Now, I'm back up and running.
Is there an existing issue for this?
Describe the bug
Currently trying to run my existing .net aspire app in Fedora Linux. This project is currently working in windows and on the our Ubuntu build server.
When I try to start up the project I get the following exception stack track:
Here are my launch settings:
When I list the dotnet workloads, I get this:
Running the command
dotnet workload update
says it updated it, but does not report as updated.Expected Behavior
For the app to start up and show me the dashboard.
Steps To Reproduce
Run
dotnet run
for the apphost projectExceptions (if any)
.NET Version info
Anything else?
No response