Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Avoid server side dependencies when feature deactivated, programmatically (c#)

$
0
0

Hello,

I have created a feature and added an event receiver in my solution from visual studio 2015 and deploy as a farm solution.

using event receiver, when feature gets activated then i am applying master page , pages etc.

its working when activating feature but when i am deactivating feature then we are getting issue regarding missing server side dependencies.

so is there any way to avoid server side dependencies using code (c#)  when feature gets deactivated?

Error we have like below:-

[MissingSetUpFile] Featues referenced [1] times in the database [APP], but is not installed on the current farm. Please install any feature/solution which contains this web part. One or more web parts are referenced in the database [APP], but are not installed on the current farm. Please install any feature or solution which contains these files


anuj


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>