Today when i use PowerShell to run Install-SPSolution:
Install-SPSolution –Identity MySolution.wsp -AllWebApplications -GACDeployment
for deploying one solution, it occures the following message:
This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application
Resolved:
Option1:
Install-SPSolution –Identity MySolution.wsp -GACDeployment
or
Install-SPSolution –Identity MySolution.wsp -GACDeployment -Confirm:$false
Option 2:
Go to Solution Properties, Change Assembly Deployment Target from GlobalAssemblyCache to WebApplication.