SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a question regarding a feature.

Situation: I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code. So I've added that file to the solution I deploy the solution, I set the solution NOT to automatically activate. So when I deployed the solution it is deactivated, BUT the I do see that the my custom delegate control is used instead.

It is strange, no matter if the feature activated or not the control is used how it comes?

I thought that hen you deactivate the feature the files that are deployed with the feature should not be active or something, or am I wrong?

Or what am i doing wrong?

share|improve this question
Is the XML file a module in Visual Studio? – RJ Cuthbertson Aug 10 '12 at 14:00
yes it is in VS – Shkipper Aug 13 '12 at 5:38
and no it is not module, ive added it a an empty element – Shkipper Aug 13 '12 at 7:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.