I'm trying to write a very simple feature stapler scoped to the web app level. I can write it. I can deploy it as a farm solution. But, I can't get it to deploy to the web app level. If I run install-SPSolution with the -WebApplication parameter, I get the
error "This solution contains no resources scoped for a Web Application and cannot be deployed to a particular web application."
Here's the feature.xml - which says it's scoped to the webapplication:
<?xml version="1.0" encoding="utf-8"?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/" Id="5603ccd0-4d95-4250-890f-318d433d3a9a" Scope="WebApplication" Title="cets_ws_master_stapler">
<ElementManifest Location="stapler\Elements.xml" />
What am I doing wrong? The feature it should staple is only relevant to a particular web app, so I really _can't_ let it deploy to the whole farm.
View Complete Post