So geben Sie die Version microsoft.netcore.app in Visual Studio 2022 an
Posted: 13 May 2025, 01:18
Ich erstelle eine ASP.NET -Kernanwendung mit .NET 8. Es funktioniert normal. Aber heute, wenn ich mit Debug anfange, sagt die Konsole: < /p>
Letzte Woche muss ich aus dem gleichen Grund .NET SDK 8.0.10 installiert.
Ich habe auch runTimeConfig.template.json :
Code: Select all
You must install or update .NET to run this application.
App: /var/www/MinAPI/WebApi.dll
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '8.0.11' (x64)
Code: Select all
{
"sdk": {
"version": "8.0.10"
}
}