.vs folder too big in VS2017


#1

Visual Studio creates a hidden folder “.vs” for each project and it used to be ~10 kB in VS2015; however VS2017 takes a few hundred MB. This is not helpful when you develop on a laptop or a tablet with a small storage. I found that this is due to auto precompiled header and disabling this will reduce the folder to a few MB.
https://developercommunity.visualstudio.com/content/problem/27415/autopch-folder-size-increases-substantially-with-e.html

Here’s the solution: to disable precompiled header, as described in the link above, go to Tools > Options > Text Editor > C/C++ > Advanced and set Disable Automatic Precompiled Header as true (or you can limit the quota)

I guess this is quite important and should be documented in the setup guide:
https://openframeworks.cc/setup/vs/


#2

Thanks a lot bro. You saved my day! God bless you