如何以編程方式將項目添加到項目中?如何以編程方式將現有項目添加到項目?
類似的東西來
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