2013-06-27 73 views

回答

3

上RunStarted方法,使用replacementsDictionary [「$ destinationdirectory $」]包含目的地目錄。

public void RunStarted(object automationObject, Dictionary<string,string> replacementsDictionary, WizardRunKind runKind, object[] customParams) 
{  
    string Path=replacementsDictionary["$destinationdirectory$"]; 

} 

您可以在生成的代碼文件中使用「$ destinationdirectory $」。我找到答案here

相關問題