how are you all 🙂
I made a nice MSBuild Task to automate the sharepoint deployment
the task take the the dll file, the namespace, and the ouput directory
then it goes through all the types in this namespace and generate *.webpart file for it.
today we were making the functional test.
deployment goes smooth
but when we tried to put the webpart in the sharepoint
the nice error ‘The given assembly name or codebase was invalid’
and we spent all the day trying to figure what was the error
untill our team mate Ahmed Shokr discovered that I didn’t put the name of the type in the webpart file
and instead I’ve included the full name of the file with its token key only.
so
to all webpart developers
please don’t forget to put “Type Name, Assembly Full Name” in your webpart
or you will get into the endless war we were in today.
Happy Bugs 🙂