How do I reference Chant libraries as Nuget packages?
Last reviewed: 7/29/2024
HOW Article ID: H062405
The information in this article applies to:
- Audio Search 5
- GrammarKit 10
- KinesicsKit 8
- LexiconKit 10
- ProfileKit 10
- SpeechKit 13
- SpeechManager 4
- Talk&Listen 5
- VoiceMarkupKit 10
- VoiceXMLKit 7
Summary
NuGet (nuget.org) is the package manager for .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.
More Information
Referencing libraries with Nuget (nuget.org) simplifies project setup and maintenance by centralizing control for version management and maintenance. In addition to supporting .NET assemblies, Nuget packages also support native libraries such as C++ headers, source, and DLLs. This enables Visual C++ projects to consume Nuget packages.
Nuget packages are available for Chant .NET and Visual C++ libraries on (nuget.org) and may be referenced in Visual Studio projects as follows:
- Select the application project in the Solution Explorer
- Right-click the mouse and select the Manage Nuget Packages… menu item.
- Enter Chant in the search bar.
- Select the applicable Chant library and press the install button.

For .NET projects, Nuget automatically includes dependent libraries. For C++ projects, select and install all dependent libraries as they are not automatically included.
Visual Studio 2022 projects with sample applications that illustrate consuming packages are available for download on the Chant downloads page.
Product documentation is updated to provide steps for selecting Nuget packages:
- Audio Search
- GrammarKit
- KinesicsKit
- LexiconKit
- ProfileKit
- SpeechKit
- Speech Manager
- Talk&Listen
- VoiceMarkupKit
- VoiceXMLKit
The following table serves as a map to determine which Nuget packages are applicable:
Nuget Package | Programming Language | API/SDK/Specification |
---|---|---|
Chant.AudioSearch.Windows | C++, C#, VB | Microsoft SAPI5, Microsoft Speech Platform, Nuance Dragon NaturallySpeaking |
Chant.GrammarKitDependencies:Chant.Shared | C#, VB | Microsoft System.Speech, Microsoft.Speech |
Chant.GrammarKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++) |
Chant.GrammarKit.WindowsMediaDependencies:Chant.Shared.WindowsMedia | C#, VB | UWP Microsoft WindowsMedia |
Chant.GrammarKit.WinRT.WindowsMediaDependencies:Chant.Shared.WinRT.WindowsMedia | C#, VB | Microsoft WindowsMedia (via WinRT .NET) |
Chant.KinesicsKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Microsoft Kinect |
Chant.LexiconKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Cepstral, Microsoft Azure Speech, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++) |
Chant.LexiconKit.WinRT.WindowsMediaDependencies:Chant.Shared.WinRT.WindowsMedia | C#, VB | Microsoft WindowsMedia (via WinRT .NET) |
Chant.ProfileKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Microsoft SAPI5, Microsoft Speech Platform, Nuance Dragon NaturallySpeaking |
Chant.SpeechKitDependencies:Chant.Shared | C#, VB | Microsoft System.Speech, Microsoft.Speech |
Chant.SpeechKit.MCSDependencies:Chant.Shared.MCS | C#, VB | Microsoft Azure Speech |
Chant.SpeechKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Acapela, Cepstral, CereProc CereVoice, Microsoft Azure Speech, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking |
Chant.SpeechKit.WindowsMediaDependencies:Chant.Shared.WindowsMedia | C#, VB | UWP Microsoft WindowsMedia |
Chant.SpeechKit.WinRT.WindowsMediaDependencies:Chant.Shared.WinRT.WindowsMedia | C#, VB | Microsoft WindowsMedia (via WinRT .NET) |
Chant.SpeechManager.WindowsDependencies:Chant.SpeechKit.WindowsChant.Shared.Windows | C++, C#, VB | Acapela, Cepstral, CereProc CereVoice, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking |
Chant.TalkListen.Windows | C++, C#, VB | Acapela, Cepstral, CereProc CereVoice, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking |
Chant.VoiceMarkupKitDependencies:Chant.Shared | C#, VB | W3C SSML |
Chant.VoiceMarkupKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Acapela Tag, CereProc, Microsoft, Azure Speech SSML, SAPI5 XML, W3C SSML |
Chant.VoiceMarkupKit.WindowsMediaDependencies:Chant.Shared.WindowsMedia | C#, VB | UWP W3C SSML |
Chant.VoiceXMLKit.WindowsDependencies:Chant.Shared.Windows | C++, C#, VB | Microsoft SAPI5, Microsoft Speech Platform |