In this post, we will discuss how we can resolve the issue which comes when we deploy a timer job into SharePoint 2016 on-premise environment. While we were developing a custom timer job we faced the issue. The error comes as:
An error occurred in deployment step ‘add solution’ a timer job process feature with ID FeatureID has already been installed in this farm. Use the force attribute to explicitly re-install the feature. It looks like below:
An error occurred in deployment step add solution a timer job process feature with ID FeatureID
Also, you can read:
Open the solution in visual studio 2015, open the feature and then press F4 which will open the Properties windows. In the Properties windows, by default Always Force Install will be False. Make that to true. So the property should look like below:
After this when you will deploy from visual studio 2015, the error will not come.
Hope this will be helpful.
You May Also like the Following SharePoint Tutorials: