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…
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,…
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…
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
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…
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…
.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…
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 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…
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. …
.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 -…
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:…
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…
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
.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.
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\
.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
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…
How to fix
.NET Runtime version : 2.0.50727.9179 - No debugger found.No registered JIT debugger was specified
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…