I'd like to be able to include shortcuts in my solutio开发者_C百科n explorer so that I can just double click in solution explorer to open a directory related to the project or solution, is this possible? Currently if I add a shortcut to the solution it comes up as a .lnk file and it opens insides Visual studio as a binary file instead of opening in windows explorer.
While it may not be the most elegant answer and does not answer your question directly, have you considered adding a HTML file to your solution and inside that HTML page you place your links. You should be able to link directly to files, folders, web content, etc...
I think the best solution is per this answer:
https://stackoverflow.com/a/18163825/180430
Basically you right click on your .lnk file and choose "Open With".
Choose Add to add a new program/editor. The program to add is C:\Windows\System32\explorer.exe
(or similar).
Then set that to be the default editor for .lnk files.
精彩评论