Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to update a DWP file in the web part gallery by using stsadm upgradesolution. Here is what I am doing:

  1. Created a web part, put it in feature, packaged it in solution by WSPBuilder, deployed it. Worked absolutely fine.
  2. Updated the xml of my dwp file.
  3. Compiled the project again.
  4. Build wsp file through WSPBuilder again.
  5. executed stsadm's upgradesolution command.
  6. Once completed, checked the assembly date in GAC and it reflects the time of my upgrade which means it is copied during upgrade. Great.
  7. Checked the dwp file in Web Part Gallery but it is not updated and still showing the old file.

Am I missing something? How can I upgrade my dwp files through upgradesolution?

share|improve this question
add comment

2 Answers

Try retract and remove first, then install your updated wsp.

share|improve this answer
    
Thanks Carl, but it will kill the purpose of upgrading. I wanted to avoid retracting and removing to keep things simple but it looks like that there is no other way . –  Namwar Rizvi Aug 12 '10 at 13:13
add comment

did you run IISRESET after your upgrade?

share|improve this answer
    
Hi Brian! Yes, I tried but no benefit. –  Namwar Rizvi Sep 24 '10 at 15:00
add comment

Your Answer

 
discard

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.