1,166 questions with .NET Runtime tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

I am getting the below error while trying to build a project in Visual Studio

Severity Code Description Project File Line Suppression State Error MSB4018 The "GenerateDepsFile" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=6.0.0.0, Culture=neutral,…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-17T17:18:33.1866667+00:00
Sri Adapa 35 Reputation points
commented 2024-11-01T17:05:34.63+00:00
Annedla, Prashanth 5 Reputation points
1 answer

.NET Uninstall tool - issue

Hello, I'm getting the following error while running dotnet-core-uninstall remove --runtime --all-but-latest command: I have dotnet-core-uninstall-1.7.521001.msi installed from https://github.com/dotnet/cli-lab/releases prior running above…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-23T17:17:21.94+00:00
Mark Marco 25 Reputation points
commented 2024-10-31T08:08:05.81+00:00
JasonPan - MSFT 5,906 Reputation points Microsoft Vendor
7 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,008 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,004 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,885 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 151 Reputation points
edited a comment 2024-10-30T20:47:04.4166667+00:00
Holger B 0 Reputation points
2 answers

.net core 8.0.10 hosting bundle doesn't install components

I have downloaded the .NET Core Hosting bundle for 8.0.10. In the past when installing this bundle it will install the following components: Microsoft .NET Runtime - version (x64) Microsoft .NET Runtime - version (x86) Microsoft ASP.NET Core - version -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-22T17:50:25.83+00:00
Neil Callahan 10 Reputation points
edited an answer 2024-10-29T12:45:16.9266667+00:00
PatriceSc 171 Reputation points
2 answers One of the answers was accepted by the question author.

System.AccessViolationException when adding a new item in Visual Studio using IVsProject.AddItem

I'm encountering a System.AccessViolationException while working in Visual Studio 2022. The error occurs specifically when I try to add a new UI or CLR item to a project using the IVsProject.AddItem() method. Below is the full exception log: Aplicación:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,191 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
337 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,758 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,885 questions
asked 2024-10-16T21:32:58.7566667+00:00
Julius 20 Reputation points
accepted 2024-10-28T18:06:14.2033333+00:00
Julius 20 Reputation points
3 answers One of the answers was accepted by the question author.

Old .NET versions automatic uninstallation/removal

Hello, How are you removing old versions of .NET from your devices? Is there a way to automate this? To better clarify our issue, please see the screenshot below. We just installed the latest version (6.0.35) for both: .NET Runtime and Desktop Runtime…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,611 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,507 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-22T14:36:55.8833333+00:00
Mark Marco 25 Reputation points
accepted 2024-10-28T13:56:59.99+00:00
Mark Marco 25 Reputation points
1 answer One of the answers was accepted by the question author.

problem with .net framework 4.0

hi. i installed windows 7 yesterday and tried to install .net framework 4.0. the error code is 0x800c0019. I need it to install other peograms, pls help :C

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,495 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2023-04-02T13:24:08.2966667+00:00
commented 2024-10-18T11:39:50.8933333+00:00
chatpoint 0 Reputation points
2 answers

.Net 8 runtime download corrupt?

Is there an issue with the .Net 8 runtime download? I keep getting a message that i can't run this on my pc. The only option is to use winget to install.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-04T06:31:49.1066667+00:00
Jos ter Doest 10 Reputation points
commented 2024-10-16T07:17:27.51+00:00
Jiachen Li-MSFT 32,296 Reputation points Microsoft Vendor
2 answers

Microsoft Visual C++ X64 Minimum Runtime Error, (Not Installing. Missing the .MSI file.)

Receiving this error when trying to install VC_redist.x64 (2).exe C:\ProgramData\Package Cache{221D6DB4-46E2-333C-B09B-5F49351D0980}v14.13.26020\packages\vcRuntimeMinimum_amd64\

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,758 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,885 questions
asked 2024-10-05T17:11:44.6266667+00:00
Gary 0 Reputation points
answered 2024-10-14T15:03:03.1766667+00:00
Mohammad Sartaj Khan 75 Reputation points
1 answer

.NET 6.0 not installing

Hi, I'm having an error installing .NET Host 6.0.33 (x64) its having errors installing 'dotnet-host-6.0.26-win-x64.msi'. Here are some screenshots

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-08T21:35:46.72+00:00
V O 0 Reputation points
commented 2024-10-11T11:15:35.7133333+00:00
Konrad Gąska 0 Reputation points
1 answer

How to fix this : i have vulnerabbility issue for .net framework

Could you please help on this : KB4556813 is not installed %windir%\Microsoft.NET\Framework64\v2.0.50727\Mscorlib.dll Version is 2.0.50727.8745 %windir%\Microsoft.NET\Framework\v2.0.50727\Mscorlib.dll Version is 2.0.50727.8745 KB4534271 is not…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-10T12:23:05.46+00:00
Ralph 0 Reputation points
answered 2024-10-11T06:14:02.0966667+00:00
Jiachen Li-MSFT 32,296 Reputation points Microsoft Vendor
1 answer

How to fix

.NET Runtime version : 2.0.50727.9179 - No debugger found.No registered JIT debugger was specified

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-10-04T10:19:00.3+00:00
joaquim valentim 0 Reputation points
answered 2024-10-11T03:20:04.7266667+00:00
Jiachen Li-MSFT 32,296 Reputation points Microsoft Vendor
1 answer

Error NETSDK1061 encountered when run "dotnet publish"

Hi All, Good afternoon. Let me first give a big picture on my project. The main project is using .NET8.0, and it has 2 dependencies. One of the dependencies is using netcoreapp2.1, which is also the one trigger the error NETSDK1061.   I encountered…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
337 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-30T07:12:41.6933333+00:00
Song Xu (NCS) 0 Reputation points
commented 2024-10-11T02:49:24.4033333+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer

System.DirectoryServices.Protocols.dll

System.DirectoryServices.Protocols.dll is located in two folders: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.DirectoryServices.Protocols\v4.0_4.0.0.0__b03f5f7f11d50a3a\…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-25T08:18:42.94+00:00
Lukasz Zymla 0 Reputation points
commented 2024-10-10T07:13:33.11+00:00
Hui Liu-MSFT 48,571 Reputation points Microsoft Vendor
1 answer

Why .NET SDK installer doesn't clean up after itself?

When you install x86 .NET SDK on x64 system, it creates .dotnet folder in your %USERPROFILE%. The problem is, when you uninstall the SDK, it doesn't remove the folder it had created. Why doesn't it clean up after itself? Thank you

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-03T16:46:02.4233333+00:00
Vasya Pupkin 60 Reputation points
commented 2024-10-10T06:01:51.0166667+00:00
Jiachen Li-MSFT 32,296 Reputation points Microsoft Vendor
8 answers One of the answers was accepted by the question author.

.NET Framework 4.8 on Windows Server 2019 - installation failes

I have tried the solutions in other questions regarding installation failures of .NET Framework 4.8, but nothing have helped me so far. The server is fully patched and rebooted. (Note! We use a WSUS but I do not know what updates are allowed or…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2021-06-17T15:06:41.08+00:00
Kristofer 146 Reputation points
commented 2024-10-08T11:17:24.6033333+00:00
Graham Dutton 0 Reputation points
2 answers

how to fix Net Framework 3.5 and 4.5 error 0x80070002

how to fix Net Framework 3.5 and 4.5 error 0x80070002

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-10T07:57:41.5033333+00:00
Li, Zhang Leslie 0 Reputation points
edited the question 2024-10-08T03:22:52.7266667+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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

I am writing an .nsi script, which after successfully installing, will not allow me to run the program after showing the popup in the screenshot above "You must install .NET Desktop Runtime to run this application". I have clicked the Learn…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,916 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-23T16:53:00.3566667+00:00
Larry C 20 Reputation points
commented 2024-10-03T07:33:39.9133333+00:00
Jiachen Li-MSFT 32,296 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

.NET 9 Preview 1 extension installed on Windows Function App, how to enable?

I've installed the .NET 9 runtime extension, how do I enable it? I don't see it present in the version selection dropdown, I've restarted after installing the extension. Does anyone know? Thanks in advance I've also tried something like : az…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,093 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-03-08T09:54:27.45+00:00
David Callan 20 Reputation points MVP
answered 2024-09-25T16:30:33.06+00:00
Dave Black 0 Reputation points
0 answers

how to fix synchronization runtime error

i am always facing synchronization runtime error, how to solve it ?

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
asked 2024-09-25T08:35:40.1466667+00:00
Jules Hatem 0 Reputation points
commented 2024-09-25T11:29:21.4966667+00:00
Hui Liu-MSFT 48,571 Reputation points Microsoft Vendor