TeleSign / csharp_telesign

The Telesign C# SDK lets you easily integrate with our REST API.
MIT License
13 stars 32 forks source link

Add NuGet manifest #13

Closed lmikkelsen closed 6 years ago

lmikkelsen commented 9 years ago

To build the NuGet package:

MSBuild.exe /p:Configuration=Release Telesign.Sdk.sln NuGet.exe pack TeleSign.Services.nuspec

ammaraltahan commented 7 years ago

We chose to package it by the proj as opposed to creating a nuspec file that we have to maintain. It did the job very well.

nuget.exe pack "{pathToSDK}\TelesignSDK\src\Telesign.Services.Verify\Telesign.Services.Verify.csproj" -IncludeReferencedProjects -Prop Configuration=Release

Before you execute the above, you have to remove reference to Json.NET and re-add it as a NuGet package, so that the above command can resolve dependencies.