I switched which user I am running Rider as, but on the same computer.
If I look at the NuGet window under Sources, it says c:\users\newuser\appdata\roaming\nuget\nuget.config
If I look under Folders, I see many mentions of c:\users\newuser\<subfolder>
I see no mention of c:\users\olduser\<subfolder> anywhere.
But whenever a NuGet restore occurs, the log is filled with many occurrences of the following exception:
NuGet.Configuration.NuGetConfigurationException: Failed to read NuGet.Config due to unauthorized access. Path: 'C:\Users\olduser\AppData\Roaming\NuGet\NuGet.Config'. ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\olduser\AppData' is denied.
Where is Rider getting this path to olduser? It cannot access another user's user folder, and I don't know why it would try to.