ASP .Net Core API give the message to require net 8.0

Ich habe ein MultiProjekt, wo ich eine Blazor Anwendung (net8.0), eine API (net8.0) und zwei Docker (postgre und rabbitmq) ausführen möchte.

Beim bauen gestern konnte ich die beiden Anwendungen einzeln starten.
Mit einmal kam immer die folgenden Meldung:

Heute morgen habe ich es noch einmal frisch probiert, aber gleiches Ergebnis.
Die beide Anwendungen werden gebaut und ausgeführt, jedoch die API springt nicht in den Logging Modus, sondern wirft den Fehler, welcher auf den ersten Blick vermuten lässt, das die Anwendung nicht gestartet wäre.

Danke für eueren Support
@kevin.tx


Deepl’s translation to English:

"I have a MultiProject where I want to run a Blazor application (net8.0), an API (net8.0) and two Docker (postgre and rabbitmq).

When building yesterday, I was able to start the two applications individually.
All of a sudden I got the following message:
[picture]

This morning I tried again, but the same result.
Both applications are built and executed, but the API does not jump into logging mode, but throws the error, which at first glance suggests that the application would not have started."

Hi @tf_hosenso.de

What host are you building on? I have had issues in the past when using the packages from the Ubuntu repositories which were resolved when I switched to the packages from the Microsoft repo.

The error message seems to indicate that you do not have dotnet installed so maybe you just need to install it manually?

Drew

Hi @drew.tx ,

i have writen that the project will be build, but the message came on the end.
But the Docker runs.
So it is installed !
I build on a WSL Ubuntu 22.04

Tomas

Hi @tf_hosenso.de

Is there still an issue here or is it working now?

Drew

It is fixed, but onlay because i have switched from DotNetConsole to aspnet.
That was the problem