“The feature name WebPart1 already exists in SharePoint. You need to rename the feature before solution deployment can succeed.”
The error may seem stupid , the solution to it is simple.
A simple method to avoid the above error is as follows
- Immediately after creating a new webpart project, remove the Webpart1 folder completely.
- Add new web part to the project by right clicking on the project and selecting new item from the context menu.
- In the Add new item dialog box select Sharepoint from categories and Select Web Part from templates.
- Give a name for your webpart and click Add button.
2 comments:
Simple But Nice Suggestion ! Nice thinking
Thanks,
Prasad
Good t know that it helped
Post a Comment