Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Can UWPNuGetPackages be moved to another drive?
I'm trying to make a UWP app in Visual studio, but the NuGet package files have been huge. They just don't fit on my SSD, but I do have an HDD I could theoretically use.
After a bunch of tinkering with different Visual Studio and NuGet configs, I've gotten the NuGetPackages folder onto another drive without Visual Studio yelling at me, but now it's giving me the error The local source 'C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\' doesn't exist
. I can hardly find any reference to this folder anywhere on my computer or online. Is there some way to also get Visual Studio to recognize this on another drive?
1 answer
The following users marked this post as Works for me:
User | Comment | Date |
---|---|---|
Ullallulloo | (no comment) | Aug 20, 2022 at 12:41 |
Apparently this is controlled by the registry value Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\NuGet\Repository\UWPNugetPackages
. I changed it from C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\
to D:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\
and now Visual Studio is happily compiling my program.
1 comment thread