无法将现有.csproj添加到现有解决方案 [英] Cannot add existing .csproj to an existing solution

查看:106
本文介绍了无法将现有.csproj添加到现有解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在源代码管理中,我有一个现有项目,我想添加到另一个解决方案。我试图通过右键单击解决方案资源管理器中的解决方案然后单击添加然后单击现有项目来执行此操作。当出现Add Existing Project
对话框时,我只有2个选项作为要添加的潜在文件类型:L Project Files (* .sqlproj)和Database Project Files (* .dbproj)。因此,我无法查看或添加所需的.csproj文件。我如何才能使.csproj文件
类型显示在要添加的文件类型列表中?

In source control I have an existing project that I would like to add to another solution. I am attempting to do this by right clicking on the solution in Solution Explorer and then clicking Add and then Existing Project. When the Add Existing Project dialog box comes up, I only have 2 options as potential file types to add: L Project Files (*.sqlproj) and Database Project Files (*.dbproj). Because of this I am unable to see or add the desired .csproj file. How can I make it so the .csproj file type shows up in the list of file types to add?

推荐答案

嗨朋友,

在您点击添加现有项目后,请确保在此窗口中选择所有项目文件的类型:

Please make sure that you select the type to all project files in this window, after you click add existing project:

 

祝你好运,

Fletcher


这篇关于无法将现有.csproj添加到现有解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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