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 SharePoint project (web parts, user controls ...) and I have created Safe Control for it in the Web.config file.

If I change the version of the assemlby ( do I need to modify web.config file of the web Application?


share|improve this question

The general recommendation is that you never update the AssemblyVersion of WebPart assemblies, because you have to update:

  • The SafeControl entries in web.config (for letting it run)
  • The .webpart files (for getting new instances)
  • Assembly redirect entries in web.config (for already inserted instances)

For more reference see:

share|improve this answer
thanks, If I have a project for all my WebParts and let it be (never update this assembly). Do I need to update SafeControl for other assemblies which do not contain any WebPart (modules, features ...) if I change Version? – Medes Apr 19 '12 at 6:40
The rule applies to anything which needs a SafeControl entry: WebParts, SitePage baseclass and web controls, Custom Workflow Action,... So in general SharePoint developers usually don't update AssemblyVersion. But of cause you should always update the version of your feature – Per Jakobsen Apr 19 '12 at 6:52

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.