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'm getting that old familiar error when trying to deploy my SharePoint solution via Visual Studio:

Error occurred in deployment step 'Add Solution': A feature with ID {Guid} has already been installed in this farm. Use the force attribute to explicitly re-install the feature.

I know I've run into this before, and previously I found somewhere in Visual Studio (in the properties tab possibly) where it let you check a box to enable the "force" flag when it deploys.

I just installed the latest SharePoint and Office Developer Tools for Visual Studio. I now can't seem to find that option.

Am I just missing it somewhere or has it disappeared?


share|improve this question
up vote 38 down vote accepted

If you double-click on the feature (NameofFeature.feature), in your solution. You'll see a properties window come up - as a window that details the title, description, scope, items in solutions, and items in the feature. In the properties window, you'll see an option titled 'Always Force Install'. By default, it is set to False. You can configure that to be set to True.

share|improve this answer
Thanks. I think my upgrade screwed up VS in some way. I had to reinstall to get this to appear again. – MgSam Mar 6 '13 at 18:56

You can do it via the XML editor as well!


  1. Go to your Features in your project.

  2. Open the feature.template.xml file

add AlwaysForceInstall="TRUE" to the below tag

<Feature xmlns="" AlwaysForceInstall="TRUE">

Now try to deploy the code.

share|improve this answer
  1. Double click on the feature....

  2. then in the properties window make


    and there u go.....

share|improve this answer

You can solve it as bellow, It works.


  1. Open AssemblyInfo.cs from Project Solution.
  2. Change assembly version from existing.

    [assembly: AssemblyVersion("")]


    [assembly: AssemblyVersion("")]

  3. Build Project and Deploy it.

share|improve this answer
Isn't this going to create a lot of DLLs in the GAC / Bin? Please confirm. – Muhammedh Jun 19 '14 at 14:20

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.