Update1:
PS C:\> Add-SPSolution c:\Deployment\MyFirstWebPart.wsp Install
-SPSolution -Identity NameOfWSP -WebApplication http://sp2010 -GACDeployment
Add-SPSolution : A positional parameter cannot be found that accepts argument '
Install-SPSolution'.
At line:1 char:15
+ Add-SPSolution <<<< c:\Deployment\MyFirstWebPart.wsp Install-SPSolution
-Identity NameOfWSP -WebApplication http://sp2010 -GACDeployment
+ CategoryInfo : InvalidArgument: (:) [Add-SPSolution], Parameter
BindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.SharePoint
.PowerShell.SPCmdletAddSolution
end update
update:
Add-SPSolution C:\Visual Studio 2010\Projects\Deployment\MyFirstWebPart.wsp Install-SPSolution –Identity NameOfWSP –WebApplication http://sp2010 -GACDeployment
error:
PS C:\> Add-SPSolution C:\Visual Studio 201
0\Projects\Deployment\MyFirstWebPart.wsp Install-SPSolution -Identity NameOf
WSP -WebApplication http://sp2010 -GACDeployment
Add-SPSolution : A positional parameter cannot be found that accepts argument '
Studio'.
At line:1 char:15
+ Add-SPSolution <<<< C:\Visual Studio 2010\Projects\D
eployment\MyFirstWebPart.wsp Install-SPSolution -Identity NameOfWSP -WebApp
lication http://sp2010 -GACDeployment
+ CategoryInfo : InvalidArgument: (:) [Add-SPSolution], Parameter
BindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.SharePoint
.PowerShell.SPCmdletAddSolution
end update
I could not find an answer deploying my custom webpart from one sharepoint 2010 server to another server (sharepoint 2010)
i have a farm solution custom-webpart developed in sharepont 2010 and i want to move to my webpart to different environement.
can anybody give me step-by-step like how to deploy?
thanks.
PS: VS2010, SP2010
c:\Deployment\MyFirstWebPart.wsp
) on root without any space and i still get the error, i have updated my question.