问题
When I select a file in solution explorer it opens immediately in a preview tab.
For many file types this is a useful feature. But when adding PDFs to a website it is not. How do I tune Visual Studio 2012's preview feature so that it does not preview PDF files?
(N.B. Kyralessa shows how to turn the preview feature off in an answer to another question, but I'd like to leave it on generally, and turn it off for PDFs.)
回答1:
Click on the pdf file while holding ALT key - the file will be selected in solution explorer but it will not be open in preview tab.
来源:https://stackoverflow.com/questions/13044498/how-do-i-turn-off-preview-in-visual-studio-2012-for-pdf-files