I have a Visual Studio Project Wizard that attempts to configure a VC# project to override the FullPath property for selected files from the template.
The following code is used from within function
public void ProjectFinishedGenerating(Project project)
string path = "some file name";
project.ProjectItems.Item("some file").Properties.Item("FullPath").Value = path;
System.Reflection.TargetParameterCountException: Invalid number of parameters. (Exception from HRESULT: 0x8002000E (DISP_E_BADPARAMCOUNT)) at EnvDTE.Property.set_Value(Object lppvReturn)
I know that I have a valid ProjectItem object because I can display the original value.