Take the 2-minute tour ×

I have a powershell script that deploys about 12 web parts. They have all been created in the manner through visual studio 2010 and are being deployed to sharepoint 2010.

I am getting the following error when running Install-SPSolution for one of my web parts: Install-SPSolution : This solution contains no resources scoped for a Web appli cation and cannot be deployed to a particular Web application.


Install-SPSolution –Identity PortalSelector.wsp -AllWebApplications -GACDeployment


share|improve this question
You might try posting this on ServerFault.com - more admins hang out there. –  Keith Hill Aug 13 '10 at 17:11
add comment

2 Answers

up vote 8 down vote accepted

Wow, this is old. You're probably a PS guru by now.

For the archives / next visitor give the following a try:

Install-SPSolution –Identity PortalSelector.wsp -GACDeployment


Install-SPSolution –Identity PortalSelector.wsp -GACDeployment -Confirm:$false

The latter prevents the confirmation dialog from popping up.

share|improve this answer
lol, yup, way beyond that now... but thanks, that is the correct answer. –  Josh Feb 9 '11 at 23:34
add comment

Event i found the same issue when im started working on sharepoint 2010. This is the solution i found and sharing it may helps to others


share|improve this answer
add comment

Your Answer


