If somebody like the post and its helpful in your work then, add comments.

Thursday, March 11, 2010

VB.NET : SharePoint Solution Template in Visual Studio

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.

VISIOITPro017

default namespace

VISIOITPro019

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.


VISIOITPro023



Workaround



Delete the default namespace from that project properties.

1 comment:

  1. This is a good logger:
    http://www.kellermansoftware.com/p-14-net-logging-library.aspx

    ReplyDelete