1,172 questions with .NET Runtime tags

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

How to handle nullreference exception in "NM_CUSTOMDRAW" notification message?

Hello, I have a windows forms application having a user control . The user control has a Treeview named as TriView. TriView's drawmode is set to OwnerDrawAll. The form is visible all the time. When I run my application and switch between the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
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,054 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,743 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,172 questions
asked 2022-06-28T12:23:02.77+00:00
Rashmi Gupta 81 Reputation points
commented 2024-11-21T07:58:03.1433333+00:00
Ruri Nanase 0 Reputation points
4 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,172 questions
asked 2024-10-17T17:18:33.1866667+00:00
Sri Adapa 35 Reputation points
commented 2024-11-20T07:02:49.09+00:00
Fredrik Modéen 0 Reputation points
0 answers

Application does not open when installed in another PC?

Hello, I have a WPF with .NET Framework project. All working as expected. Built the project with Release (Any CPU) and generated an installer setup file using inno script. Upon installing the application in a different PC I noticed that application does…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,788 questions
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,054 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,172 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,013 questions
asked 2024-11-15T08:10:22.1933333+00:00
Lakshmanan B 81 Reputation points
commented 2024-11-18T03:22:47.6033333+00:00
Hongrui Yu-MSFT 2,865 Reputation points Microsoft Vendor
1 answer

Program Install and Uninstall troubeshooter not working

I cannot uninstall any of the .NET or Runtime programs listed below using this tool because I get this error

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,520 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,172 questions
asked 2024-11-17T15:41:00.6633333+00:00
anissbenthami 6 Reputation points
answered 2024-11-17T17:01:25.3666667+00:00
MotoX80 34,516 Reputation points
1 answer

After deploying .net8.0 function app using dotnet-isolated worker runtime getting runtime version error on azure portal with error System.linq:sequence contains one or more elements.

I had deployed azure function app succesfully but on portal I see error system.linq:sequence contains one or more matching elements and runtime version is shown as Error. I have deployed function using ansible playbooks using devops pipeline. Below are…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,157 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,172 questions
asked 2024-11-15T06:08:52.7833333+00:00
Apurva Achrekar 0 Reputation points
answered 2024-11-15T12:44:43.27+00:00
Pinaki Ghatak 4,765 Reputation points Microsoft Employee
0 answers

Intermittent Error: Cannot Set AccessToken Property in .NET Core 8 with SQL Server

Description: I am encountering an intermittent error in my .NET 8 application when trying to establish a database connection using the Microsoft.Data.SqlClient library. The issue occurs sporadically during runtime, resulting in the following unhandled…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 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,172 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,958 questions
asked 2024-11-15T08:04:50.8933333+00:00
Anant Jaiswal 0 Reputation points
edited the question 2024-11-15T09:25:02.1366667+00:00
Lan Huang-MSFT 29,911 Reputation points Microsoft Vendor
2 answers

.Net 8.0.10 and 8.0.11 hosting bundle doesn't install components

I have downloaded and installed 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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 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,172 questions
asked 2024-11-13T12:31:16.29+00:00
KAPIL ARORA 0 Reputation points
answered 2024-11-14T01:21:19.44+00:00
Jiachen Li-MSFT 32,451 Reputation points Microsoft Vendor
2 answers

Versions errors on Microsoft website and in packages

Who could fix these errors? On this page https://www.microsoft.com/fr-fr/download/details.aspx?id=26347, one can download Microsoft Visual C++ 2005 8.0.61001. But after downloading the packages (French or English version), I look at their version and…

.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,172 questions
asked 2024-11-09T20:18:25.54+00:00
VANTYGHEM David 0 Reputation points
commented 2024-11-12T09:20:44.58+00:00
Jiachen Li-MSFT 32,451 Reputation points Microsoft Vendor
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,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 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,172 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,991 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,054 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,172 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,005 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,013 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 156 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,639 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,172 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,225 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
338 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,774 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,172 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,013 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,945 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,639 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,520 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,172 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,539 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,172 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,172 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,451 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,774 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,172 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,013 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 150 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,945 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,172 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,172 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,451 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,172 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,451 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,945 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
338 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,172 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