English 中文(简体)
VSCode抱怨安装了。 现有的网络台站
原标题:VSCode complaining that installed .NET Desktop Runtime does not exist

我正在使用密码来撰写C#的团结文字。 在开始打字码时,它用“Microsoft”为标题架设了一个波箱。 Service Hub.Controller.exe”和错误信息如下:

You must install .NET Desktop Runtime to run this application.

Architecture: x64
App host version: 6.0.16

Would you like to download it now?

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

底部有的和没有的吨位可以推定地下载时间,但时间不多。

我下载并安装了它所要求的时间。 在终端I运行dotnet-info,并列出申请运行时间以及7.0.9,即版本。 NET I最初安装。 不清楚为什么它开始要求采用这一版本,以及我怎样才能用7.0.9。

我已尝试取消和重新安装桌面运行时间,但仍然有同样的错误。 我还在座标上。 NET,没有发现桌面操作时间。 我读到,NET 7只看一个地点。 Can 我改变了6.16安装的安装地点?

问题回答

For anyone else who might find this issue, I solved it by uninstalling .NET extensions from vscode and then uninstalling .NET (using the original installer). Also, if using Unity, I deleted the csproj files from my project. Then reinstalled every back in reverse order. No idea how I got this issue or if there was a more simple solution.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签