在现有目录中创建项目/解决方案? [英] Create Project/solution in an existing directory?

查看:491
本文介绍了在现有目录中创建项目/解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何创建新项目&解决方案在同一个现有的目录中?无论我做什么,它都会不断为项目创建一个新的(子)目录并填充该目录而不是已经存在的目录。我清除了为解决方案创建目录复选框,以便将解决方案放在同一文件夹中,而不是创建解决方案文件夹,但它仍然会生成项目子文件夹。

How can I create a New project & Solution in the same, existing , directory? No matter what I do, it keeps creating a new (sub)directory for the project and populating that directory instead of the one(s) that already exist. I have the "Create directory for Solution" checkbox cleared so that it will put the solution an dproject in the same folder and not create a solution folder, but it still keeps making the project sub-folder.

我该如何解决这个问题?!

How can I fix this?!?

这已经困扰了我很长一段时间,但我'到目前为止,它已经能够忽略它或解决它。但现在它正在我的客户项目中榨取我的屁股生产力,我需要解决它。 thanx ... RBarryYoung

This has bugged me for a long time, but I've been able to ignore it or work-around it up until now. But now it is kicking my butt productivity-wise on my customer project and I need to fix it. thanx... RBarryYoung

(注意:这是VS2005,软件开发人员的团队版)

(Note: This is VS2005, Team Edition for Software Developers)

推荐答案

从Visual Studio,如果您没有打开解决方案,您可以选择

From Visual Studio, if you have no solution open, you can select

文件 - >新建 - >现有代码项目

File->New->Project From Existing Code

选择项目类型

将您希望解决方案和项目文件所在的目录作为项目文件位置 字段。

Put the directory you want the solution and project file to be in as the "Project file location" field.

完成向导后,您将在同一目录中找到项目文件和解决方案文件。

Finish the wizard and you'll have a project file and solution file in the same directory.

如果现有代码中的项目选项不可用

使用以下内容创建自定义键盘快捷键,工具栏按钮或菜单项VS的自定义功能。

Make a custom keyboard shortcut, toolbar button or menu item by using the customization features of VS.

工具 - >自定义

选择键盘按钮添加键盘快捷键或选择命令选项卡以添加工具栏按钮或菜单项。您正在寻找的命令是:

Select the "Keyboard" button to add a keyboard shortcut or select the "Command" tab to add a toolbar button or menu item. The command you are looking for is:

文件 - >现有代码的新项目

File->New Project From Existing Code

分配任何键盘快捷键或者将图标拖动到您想要的任何菜单/工具栏。

Assign whatever keyboard shortcut or drag an icon to whichever menu/toolbar you want.

这篇关于在现有目录中创建项目/解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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