So geben Sie die Version microsoft.netcore.app in Visual Studio 2022 anC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 So geben Sie die Version microsoft.netcore.app in Visual Studio 2022 an

Post by Anonymous »

Ich erstelle eine ASP.NET -Kernanwendung mit .NET 8. Es funktioniert normal. Aber heute, wenn ich mit Debug anfange, sagt die Konsole: < /p>

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)
Letzte Woche muss ich aus dem gleichen Grund .NET SDK 8.0.10 installiert.

Code: Select all

{
"sdk": {
"version": "8.0.10"
}
}
Ich habe auch runTimeConfig.template.json :

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post