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 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…
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\…
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 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…
how to fix Net Framework 3.5 and 4.5 error 0x80070002
how to fix Net Framework 3.5 and 4.5 error 0x80070002
"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 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…
how to fix synchronization runtime error
i am always facing synchronization runtime error, how to solve it ?