aboutsummaryrefslogtreecommitdiffhomepage
path: root/vsprojects/coapp/zlib/README.md
blob: e9a89c030eea5596237b2299c8c0072a4ab6de69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Zlib Native Nuget package
-------------------------

Uses [CoApp](http://coapp.org/) project to build the zlib package.

Prerequisites
-------------
Multiple versions of VS installed to be able to build all the targets:
* Visual Studio 2015
* Visual Studio 2013
* Visual Studio 2010 (you might need SP1 to prevent LNK1123 error)

CoApp toolkit: http://coapp.org/files/CoApp.Tools.Powershell.msi

More details on installation: http://coapp.org/tutorials/installation.html

Building
--------

Build all flavors of zlib library using the provided batch file.
```
buildall.bat
```

Then, create NuGet package using powershell (you'll need the CoApp toolkit installed):
```
[THIS_DIRECTORY]> Write-NuGetPackage grpc.dependencies.zlib.autopkg
```

This will create three NuGet packages:
* the main dev package
* the redistributable package that contains just the binaries and no headers
* the symbols package (debug symbols)

Later, you can push the package to NuGet.org repo.
Attention: before pusing the resulting nuget package to public nuget repo, you have to be 100% sure it works correctly - there’s no way how to delete or update an already existing package.