Visual Studio
一系列 Microsoft 集成开发工具套件,用于生成适用于 Windows、Web 和移动设备的应用程序。
73 个问题
我从GitHub克隆了一个C#样例项目,但是它是.net core 3.1的程序,太老了。如何将.net core 3.1程序更新到最新版本?
D:\xxxx\DLL\xxxx\src\xxxx.xxxx\bin\Debug\netcoreapp3.1>server.exe
You must install or update .NET to run this application.
App: D:\xxxx\DLL\xxxx\src\xxxx.xxxx\bin\Debug\netcoreapp3.1\server.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
6.0.25 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
7.0.14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
8.0.0 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=win-x64&os=win10
Note:此问题总结整理于:How to upgrade netcore.app v3.1.0 to latest version? - Microsoft Q&A
你好,可以使用 .NET Upgrade Assistant将项目从 .NET Core 3.1 升级到 .NET。
(请在迁移前备份您的项目。)
如果答案是正确的,请点击“接受答案”并点赞。 如果您对此答案还有其他疑问,请点击“评论”。 注意:如果您想接收相关电子邮件,请按照我们的文档中的步骤启用电子邮件通知 此线程的通知。