When we create a solution for SharePoint(like a feature) then when we use SharePoint Empty project template in visual studio 2008 then it creates a default namespace VeWSE instead of the solution name.
default namespace
So, when we activate feature or inherit another class in that then we have get the error “systemexceptionempty”. Because we provide
ControlAssembly="CustomActionControlClass, Version=1.0.0.0, Culture=neutral, PublicKeyToken=abf59b3ca9443f64"
ControlClass="CustomActionControlClass.MyCustomAction"
in element.xml file. And the actual namespace is VeWSE.Namespace.ClassName.
Workaround
Delete the default namespace from that project properties.
No comments:
Post a Comment