1

Can we keep versioning of WSP package?

If yes then how? I know only components within WSP can be versioned.... but what will be real answer?

Rgds

1 Answer 1

2

Yes, it's possible to have versioning of wsp-packages, but you have to do that manually. Pick versioning numbers using some of the techniques mentioned in the Software versioning article of Wikipedia.

You can at any time deploy a previous version of a wsp-package (if you have a solution where feature-deactivation is done the correct way).

3
  • Filenames of WSP's don't matter, only the Solution ID (these days generated by Visual Studio), so you can embed the version number in the filename of the WSP. A manual process like you say but used here for a couple of projects.
    – James Love
    Aug 19, 2013 at 7:48
  • @JamesLove True that! Usually I store my previous releases in different folders with project name and version number. It's not unusual to have PowerShell and SQL scripts within a certain deploy and the wsp name stays the same even if it doesn't matter. Most important is to have versions in some way, even if it's also version controlled by the TFS.
    – Benny Skogberg
    Aug 19, 2013 at 9:36
  • I've also heard of people putting a text file with the version information inside the package. That way, if the package gets renamed or moved to a different folder, the version information isn't lost. Aug 19, 2013 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.