Follow these steps to solve this issue:
- Open the solution using Visual Studio and retract the solution.
- Open your site using browser and Go Site Settings > Web Parts and then remove your Custom WebPart from WebPart Gallery.
- Open the solution using Visual Studio and deploy the solution.
- After you deployed the solution you need to activate the Feature in SP. (This feature adds Web Part to the Web Part gallery). This will done for you automatically by the deployment tools in Visual Studio will do this for you when you deploy the solution in it but you need to check and activate it manually if it has not done.
Open elements.xml using Visual Studio and modify it as following:
<Property Name="Group" Value="[Custom_Group_Name]" />
No comments:
Post a Comment