I have a SharePoint 2010 server and a development pc. I installed Visual Studio 2010 in my pc, and I created a web part. After I build the project I got the CreateTaskWebPart.wsp and CreateTaskWebPart.dll.
I deployed that solution using powershell. I executed the following commands to deploy my solution.
add-SPSolution c:\temp\solution1\CreateTaskWebPart.wsp install-SpSolution -Identity CreateTaskWebPart.wsp -WebApplication
http://moss2010:81/SitePages -GACDeployment
I went to Central Administration-> System Settings -> Manage Farm solutions. And I see that the web part was deployed to http://moss2010:81.
When I try to use that web part, I cannot see the the custom folder under Categories. So I am not able to use the webpart.
Edit:
Sorry for the delay. I am sending the elements, feature and manifest
This is the Elements.xml
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
<Module Name="SimpleWebPart" List="113" Url="_catalogs/wp">
<File Path="SimpleWebPart\SimpleWebPart.webpart" Url="SimpleWebPart.webpart" Type="GhostableInLibrary" >
<Property Name="Group" Value="Custom" />
</File>
</Module>
</Elements>
This is the Feature.xml
<?xml version="1.0" encoding="utf-8"?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Description="My Visual WebPart Feature" Id="98d7ec0c-ba7c-4803-b722-e02e5507624c" Scope="Site" Title="CreateTaskWebPart Feature1">
<ElementManifests>
<ElementManifest Location="VisualWebPart1\Elements.xml" />
<ElementFile Location="VisualWebPart1\VisualWebPart1.webpart" />
</ElementManifests>
</Feature>
This is the manifest.xml
<?xml version="1.0" encoding="utf-8"?>
<Solution xmlns="http://schemas.microsoft.com/sharepoint/" SolutionId="65eddfe5-1611-4c2e-970d-f6b3784d570e" SharePointProductVersion="14.0">
<Assemblies>
<Assembly Location="CreateTaskWebPart.dll" DeploymentTarget="GlobalAssemblyCache">
<SafeControls>
<SafeControl Assembly="CreateTaskWebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eca34ed344b67602" Namespace="CreateTaskWebPart.VisualWebPart1" TypeName="*" />
</SafeControls>
</Assembly>
</Assemblies>
<TemplateFiles>
<TemplateFile Location="CONTROLTEMPLATES\CreateTaskWebPart\VisualWebPart1\VisualWebPart1UserControl.ascx" />
</TemplateFiles>
<FeatureManifests>
<FeatureManifest Location="CreateTaskWebPart_Feature1\Feature.xml" />
</FeatureManifests>
</Solution>
Thanks for your help