I have been working in a development environment and deploying my custom web part features from Visual Studio directly by just hitting F5. I now need a way to deploy features separately to a test environment and would like to know the best way to go about this. I know there is an "Install-SPFeature" command but it seems to require a feature.xml file. In my Visual Studio project I have a .feature file and a .template.xml file but no plain feature.xml file. How do I generate this feature.xml file to use the Install-SPFeature command or is there an even better way to deploy single features to a site?
Take the 2-minute tour
×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.
You need the
Then, install the solution:
Remove the Finally install the feature you want with this command
Hope this solves your question |
|||||||||||||
|