简体   繁体   中英

How to open project folder from Visual Studio in Windows Explorer?

I'd like to have easy access to my project's folder from within Visual Studio. What do I do to open its folder in Windows Explorer?

Open the Solution Explorer >> right-click your project >> select Open Folder in Windows Explorer.

This has been tested on Visual Studio 2010. It will probably work in any other Visual Studio with a Solution Explorer.

See screenshots:

在此处输入图片说明

The easiest way...

I map a key chord to the command

在此处输入图片说明

Unfortunately, this only works when a project node is selected, probably because solution folders aren't actually folders and therefore it cannot be guaranteed that they actually match a folder in the file system.

You can open some of Soluion Explorer's items ( folders , projects , solutions ) in File Explorer by it's right click menus subitem " Open Folder in File Explorer ".

在文件资源管理器中打开文件夹

Also you can open opened documents containing folder by right click opened documents tab and " Open Containing Folder ".

打开包含文件夹

Additionally to the answer opening the solution folder, there is an easy way in adding an open with for single files in the "Solution explorer". Just right click on a file, select Open With... , then Add a new entry:

在此处输入图片说明

As arguments you can type /select,%1 which opens the explorer with the current file selected.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM