Turns out that the SharePointProjectItem.spdata file (in the module subfolder within the Visual Studio project) had somehow gained duplicate entries for a particular file.
To fix this,
- Unload the project in VS (or close the entire solution)
- Find the SharePointProjectItem.spdata file in Windows Explorer, and edit in Notepad++ (or your favourite text editor!) to remove the duplicate reference
- Reload the project in VS, and select that "Package" action - all then worked for me.
No comments:
Post a Comment