I am using visual studio 2022 version 17.13.5. I have many desktop(winforms) and web(ASP .NET MVC) application projects. since few weeks I have a problem with visual studio and it is affecting all the projects.
In desktop application, I cannot open the design and it always shows the below stated error message:
A part of the path “\userName\AppData\Roaming\NuGet\config.lock” was not found
and I cannot open 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.