OfficeDev/PnP — pull request #250 by sgryphon (2014-11-10 05:00:24+00:00)
Title: Nuget

Nuget packaging for the dependency assemblies (from SharePoint Client Components SDK) and for the OfficeDevPnP.Core assembly, along with instructions for uploading to Nuget feed.

Versioning of the nuspec files is manual, so you have to ensure they have the correct versions before packaging. (You also need to have build the release version of the OfficeDevPnP.Core library).

Nuget projects for both of the packages have been created on Nuget.org, but are currently not visible. The current owner is myself (sgryphon), but I can add other email addresses (just send them to me in a private message or email (sgryphon@computer.org) and I will add). Once you are an owner you will be able to see the project.

The current OfficeDevPnP package is from the dev branch, so you might want to wait until monthly release before uploading a version of the package (the client components probably won't change though).

For versioning, if we want to support both v15 and v16 (there are builds of Core for both), then maybe we need split version numbering of the library as well: 0.5.x.y for v15 an 0.6.x.y for v16?

To test, create a new local feed in the nuget settings pointing to the output directory.

(I also noticed automatic version numbering had been removed from the project as it was causing build issues; if you are doing monthly releases however it shouldn't be too hard to manually version or maybe eventually prepare a script that builds and packages both versions of the project.)

BTW. If you are not ready to release via Nuget, then you don't have to accept this pull request (the content is largely independent of the rest of the project).