Store iisexpress folder in %USERPROFILE% instead of Documents
IIS Express should store its iisexpress folder in %USERPROFILE% instead of the user's Documents folder.
In a scenario where you have OneDrive storing your PCs documents to OneDrive instead of "This PC", these files (TraceLogs, etc..) are constantly being uploaded/downloaded from OneDrive unnecessarily.
drives me insane as well, onedrive constantly uploads temporary iis files and logs and then when files are removed sends me emails and notifications. I assume it also makes onedrive frequently search for folder changes which obviously consumes some extra resources, sometimes when I open task manager I see onedrive utilizes around 50% of my hhd
Maxim Alexeyev commented
Voting is closed?
I agree, same issue. I tried using SymLinks, but that doesn't solve anything on the OneDrive side.
Storing IISExpress in the Document folder is not a good thing IMHO.
For instance, it conflicts with Onedrive when the sync app is configured to auto save the Document folder in OneDrive. Every time Something is changing in the IISExpress config, it syncs IIS express touches tons of files in the "IISExpress" folder causing Onedrive to send me emails to warn me that a lot a files have been changed recently. Although I use IISExpress, I don't need to put those files in Onedrive while I like auto saving my Document in OneDrive.
Brian Drennan commented
I concur, this is an absolute pain to deal with. I've found that a lot of enterprise admins like the idea of applying those wonderful Group Policy Objects that ship with Windows and say "this is *the* configuration we're going to ship for *all* devices!", even when it doesn't make sense. As a developer, I can't get a second machine that is policy-exempt, and am expected to deal with an "enterprise" configuration of my desktop that makes working with OneDrive miserable.