I always run Visual Studio in Administrator mode, as outlined in a blog post from 2016 titled Running Visual Studio as Administrator.
This is fine in most circumstances, but it can be a pain trying to access network drives when running as Administrator. I recently had a Console App for example which accessed documents on a network share. Its difficult to turn off run as administrator in Visual Studio.
I googled a possible answer, and found the following article: http://www.winability.com/how-to-make-elevated-programs-recognize-network-drives/
The long and short of it is you need a new registry key, and then after setting it, reboot your computer.