在Visual Studio中打开一个文件夹 [英] Open a folder in Visual Studio

查看:1247
本文介绍了在Visual Studio中打开一个文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个Angular项目,但是我喜欢Visual Studio 2012的功能.我正在寻找在Visual Studio 2012中打开文件夹的选项(类似于Sublime文本中的打开文件夹"选项),该列表将列出所有文件夹的内容.目前,我正在Windows资源管理器中浏览文件,并在需要时在Visual Studio中打开它们.

I am creating an Angular project but I love the features of Visual Studio 2012. I am looking for an option to open the folder in Visual Studio 2012 (Similar to "Open Folder" option in Sublime text), which will list all the contents of the folder. Currently, I am navigating the files in windows explorer and opening them in Visual Studio as I need them.

我可以想到的一个选择是创建一个项目(例如,控制台应用程序)并将这些文件和文件夹添加到其中,但是我不会编译该项目.

One of the options I can think of is to create a project (for e.g. Console application) and add these files and folder into that, but I will not compile the project.

只是想知道VS中是否有更好的方法(我不知道的VS模板)或隐藏选项.

Just wondering if there is a better way (a VS template that I am not aware of) or a hidden option somewhere in VS.

推荐答案

解决方案
文件->打开网站->文件系统,然后选择文件夹.
没有额外的项目或解决方案文件. VS只是按原样打开该文件夹.

Solution
File -> Open Website -> File System and choose the folder.
No extra project or solution file. VS just opens the folder as it is.

此解决方案即使在Visual Studio 2017社区中仍然有效

这篇关于在Visual Studio中打开一个文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆