I am using Visual Studio 2022 v17.13.5. I have many desktop (Winforms) and ASP.NET MVC web application projects. For some time now, I have a problem with Visual Studio and it is affecting all the projects.
In desktop applications, I cannot open the design and it always shows this error:
A part of the path "\userName\AppData\Roaming\NuGet\config.lock" was not found
I cannot open the Nuget package manager in any way in both the kind of applications. I didn't create any .lock file for any project.
But in the above mentioned folder, there is no Nuget folder. I have tried many different solutions in the last weeks but nothing seems working. I even uninstalled and installed Visual studio.
Is there any solution that I can try?