Sharepoint 2010 WSP Deployment problem. Can’t deploy new files

Solution 1

Wow, the solution was simple. I deactivated the feature in Sharepoint administration, and reactivated it and the new files got deployed.

WHY this happened, I don't know. If I version my feature instead of uninstall->add it might get fixed? Why is the behavior different on the production farm vs local? etc.

Solution 2

There are few points I want yo bring to your notice. Just check if you are already following them...

  1. I hope you have "js" folder in your VS solution (under ALayout module).

  2. Add IgnoreIfAlreadyExists="FALSE" attribute to the node

    File Path="ALayout\js\libs\jquery-1.4.2.min.js" Url="jquery-1.4.2.min.js" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE"/

  3. Use ULSViewer to see any errors while deploying on production...

Author by


Updated on June 04, 2022


  • Admin
    Admin 2 months