-
Notifications
You must be signed in to change notification settings - Fork 10
Release nuget packages
This page describes how to release Camlex nuget packages:
- Copy new dll to separate folder. For client version build in Release (SP Online), Release15 (SP2013), Release16 (SP2016), Release19 (SP2019). Each build has 3 output assemblies targeted for net5.0, net452 and netstandard2.0. Copy them all to the following folders structure:
camlex.client_x.x.x.x_15
lib
net5.0
net452
netstandard2.0
camlex.client_x.x.x.x_16
lib
net5.0
net452
netstandard2.0
camlex.client_x.x.x.x_19
lib
net5.0
net452
netstandard2.0
camlex.client_x.x.x.x_online
lib
net5.0
net452
netstandard2.0
There will be 12 copied assemblies in total.
- Create nuspec file (for server OM. Not needed for client OM):
nuget spec Camlex.NET.dll
-
Copy content of nuspec from previous version and paste it to generated nuspec file for new version (for client version copy nuspec from previous package version for appropriate SP version: camlex.client_x.x.x.x_15, camlex.client_x.x.x.x_16, camlex.client_x.x.x.x_19, camlex.client_x.x.x.x_online)
-
Edit version, release notes and copyright year. For client version also edit id (it should be unique for each targeted version: Camlex.Client.dll, Camlex.Client.2013, Camlex.Client.2016, Camlex.Client.2019)
-
Create lib/net452 (depending on currently used .Net Framework version) subfolder in current folder and move Camlex.NET.dll assembly there
-
Create nupkg file:
nuget pack Camlex.NET.dll.nuspec
- Publish package:
nuget push Camlex.NET.dll.x.x.x.nupkg -Source https://api.nuget.org/v3/index.json
If API key got expired - create new API key in nuget and then save it:
nuget setapikey <api_key> -Source https://api.nuget.org/v3/index.json
One of the best MUST HAVE library for every SharePoint developer ever. Guys, keep it up! by avishnyakov on Aug 20, 2013 at 5:36 AM
This package is absolutely a helpful solution of buildup CAML markup, i was once create my own package for CAML markup, but then abandoned when I found this project since v1.x, this project is just become much better. You will never know how troublesome when there is no results returned and you may have to bothered with the CAML markup syntax. It is truly a life saver and rescue a lot of developer day and nights. A must have library for SharePoint lover / developer. by z9ekaMen1 on Oct 11, 2016 at 5:45 AM
very useful tool! by patriksergil on Mar 12, 2015 at 12:17 PM