I copy and pasted a feature/module in my VWeWSS solution and updated the module.xml file. Unfortunately, I missed an edit in the file and caused a problem. After fixing my module.xml file, I got the following error message in visual studio.
“Directory "X" associated with feature ‘GUID1’ in the solution is used by feature ‘GUID2’ installed in the farm. All features must have unique directories to avoid overwriting files.”
This seemed like a straight forward error, but I had a bit of trouble tracking down what exactly to do to be able to use the Deploy command again. I was able to fix the error eventually by retracting my solution. You can retract a solution by performing the following step.
- Go to Central Administration
- Click on Operations
- Click on Solution Management under Global Configuration
- Click on the name of the problem solution
- Click on Retract Solution
- Choose Now for Rectract When?
- Click OK
- Wait for the retraction to complete and then try to deploy again from VWeWSS
Hope this can save someone a bit of time.
2 comments:
I got some training DVD from the Dot-Net code camp for Sharepoint. (I think it's from Solution Streams). I don't think I'll be doing anything with Sharepoint any time soon. If you'd like it it's yours. Don't know if it'd have anything you haven't already done with SP..
It might have some stuff I haven't learned. SharePoint is pretty big. Plus, it would be a good excuse for us to meet up for some hot-wings!
Post a Comment