When you try to deploy a global solution to a specific url you get the following message.
This solution contains no resources scoped for a web application and cannot be.
This solution contains resources scoped for a web application and must be deployed to one or more web applications.
I was deploying wsps on my sharepoint box using the deployment script i created earlier and i hit the following error.
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application ask question asked 10 years 1 month ago.
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application cause you should be aware of the event receiver should be deployed globally to all web application you shouldn t specify a specific web application scope when deploying the event receiver.
Select your existing project name for the source.
Here is the command that is breaking.
Every other install spsolution command uses allwebapplications and i do not want to specify the web application directly using url.
Can someone help me debug this.
In visual studio im using vs13 open up your package package file.
If the solution has no web application resources it is considered a global solution and does not actually need to target an web applications.
Sharepoint has the annoying habit of forcing you to deploy globally whenever possible.
Remove the allwebapplicaitons and this global solution will be deployed globally to the farm and will be available to all web applicaitons.
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application this solution contains no resources scoped for a web application this solution contains no resources scoped for a web application and cannot be deployed the solution contains no resources scoped for a web application this.
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application.
Switch the tab to the advanced tab click the add then add assembly from project output.
Another way to trick sharepoint to deploy a web application scoped solution is to add an empty dummy safe control assembly to your deployment package.
I then got the following error.
This solution contains no resources scoped for a web application and cannot be deployed to a particular web application.