For Windows 10 and Visual Studio 2017, I followed the directions from other posts and it résolu the problème.
Can you force Visual Studio to always run as an Administrator in Windows 8?
I imagine this fonctionne for other programmes that ne pas have a Compatibility tab dans le properties window.
Faites un clic droit Visual Studio 2017 icône dans le taskbar.
Faites un clic droit "Visual Studio 2017" and choose "Properties"
On the Shortcut tab, click "Open Fichier Location"
Faites un clic droit devenv.exe and sélectionner "Troubleshoot compatibility".
Sélectionnez "Troubleshoot programme"
Check "The programme requires additional autorisations"
Click "Next"
Click "Test the programme..."
Wait for the programme to launch (you pourrait être asked to run as admin, click oui)
Click "Next"
Sélectionnez "Oui, save these paramètres for this programme"
Click "Close"
Disclaimer: as @EricHirst points out, Visual Studio will ALWAYS run as Administrator avec this solution. Veuillez weigh sécurité concerns against convenience avant implementing this change.