Minor bug in VszWizard.FindAddItem

In the Microsoft.Practices.RecipeFramework.VisualStudio.dll in Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VszWizard.FindAddItem() is the following code:
state["WizardType"] = context[0];
state["ProjectName"] = ((ProjectItems) context[2]).ContainingProject.UniqueName;
state["ProjectItems"] = context[2];
state["LocalDirectory"] = context[3];
state["ItemName"] = context[4];
state["InstallationDirectory"] = context[5];
state["Silent"] = context[5];
Notice the last two lines both use context[5]. The last one should use contextDevil.
[648 byte] By [JLeBert] at [2008-1-28]
# 1
I will look into it.

Thanks,

Oscar Calvo
http://blogs.artinsoft.net/ocalvo

OscarCalvo at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Guidance Automation Toolkit...

Visual Studio

Site Classified