locked
How to replace template parameters in multi-project template using a Wizard RRS feed

  • Question

  • I'm having extreme difficulty extending the replacements dictionary using a wizard.

    In the multi-project scenario the replacementsDictionary items won't work in the inner projects scope.

    public

     

    void RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object

    [] customParams){

    replacementsDictionary.Add("$extensionParameter1$", "extensionParameter1Value");

    ...

    }

    +Solution A
    ++Project A $extensionParameter1$ won't be replaced (the template is well configured with ReplaceParameters set to true on the ProjectItem)
    ++Project B $extensionParameter1$ won't be replaced (the template is well configured with ReplaceParameters set to true on the ProjectItem)

    Thanks in advance.

    Tuesday, April 12, 2011 10:18 AM

Answers

All replies