Question: how to change visual studio default folder?
Answer: In Visual Studio 2017, select the Tools menu, then Options.
In the Options dialog select the Projects and Solutions category, then Locations.
In the Projects location type (or browse to) a folder on your OneDrive where you want your new projects to be created.
Click OK.