I am adding a webpart to the webpart gallery as part of a feature within a solution.
When the webpart is added to the gallery, the webparts Description field is being overwritten by an empty string.
I have added a description to everywhere I can think of, including:
<property name="Description" type="string">my description</property>
Description="mywebpart description"
<Property Key="Description" Value="mywebpart description"></Property>
<File ...><Property Name=Description" Value="mywebpart description">
I have run out of ideas of where to put the description so it will appear in the Description field of the web part gallery when the solution is deployed.
Do you have any ideas?
Check the following blog, it describes the whole process: Adding custom webparts in a Sharepoint Site Definition
Specially notice the custom property TextToDisplay (I think you've gone through all the other steps).