Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read
Q&A

Can UWPNuGetPackages be moved to another drive?

+2
−0

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?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Error context (2 comments)

1 answer

+3
−0

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.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »