problem when invoke a user control

Mar 22, 2011 at 5:15 AM

Hi, when I tried to start an usercontrol, I encountered an error as below.

ConstructorInfo constructorIndp= GetConstructorInfo(contrlType, constructorParameters);

{"The type initializer for "Guia.Elements.RunnableUiElement" threw an exception."|

{"an error occurred loading a confoguration file: the parameter 'exePath' is invalid.\r\n\Parameter name: exePath"}


public void MyTestInitialize()


 evm = new EntityHierarchyTreeViewModel();

this.control = CustomContorl.Start,EntityHierarchyTree>(c=>c.DataContext=>this.evm);




I converted guia project to visual studio 2010.

Thank you!