Question: how to add dll to gac in visual studio 2017?
Answer: Open the windows Run dialog (Windows Key + r)
Type C:\Windows\assembly\gac_msil. ... 
Find your assembly and copy its path from the address bar.
Open the Add Reference dialog in Visual Studio and choose the Browse tab.
Paste in the path to your GAC assembly.