如何以编程方式将项目添加到项目中?如何以编程方式将现有项目添加到项目?
类似的东西来
public void AddExistingItem(string projectPath, string existingItemPath)
{
//I'm making up the Project class here as an example
Project p = new Project(projectPath);
p.AddExistingItem(existingItemPath);
}
我想模仿Visual Studio的添加现有项功能。
你有什么问题f或者当您运行已发布的代码时的示例 – MethodMan
我创建了项目类。我不确定我应该使用什么课程。 –
可能的重复[如何将现有表单添加到新项目?](http://stackoverflow.com/questions/10316650/how-do-you-add-an-existing-form-to-a-new -project) – MethodMan