DeepSpeech: .NET Can not import DeepSpeech NuGet package
Hey there!
I want to use DeepSpeech in a .NET project and fortunately you already have a NuGet package available! But when I add DeepSpeech to my references by installing it in Visual Studio with the NuGet Manager, it is listed in my References but I can not import it with using
.
using DeepSpeechClient.Interfaces;
// The type or namespace name 'DeepSpeechClient' could not be found.
The .NET example project somehow works, but where is the difference?
Steps to reproduce:
- Create basic .NET CLI project in Visual Studio
- Add DeepSpeech with NuGet manager
- try import with
using DeepSpeechClient.Interfaces;
Do you have any ideas? Am I missing something (I am new to windows stuff)?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 40 (14 by maintainers)
Yes.
Hello @kdavis-mozilla, just rebased, I’ll send test with a different PR.
@erksch Thanks.
@carlfm01 It works! Awesome! thank you for your hard work!
Ok, now installing the generated NuGet by https://github.com/mozilla/DeepSpeech/pull/3100 from https://community-tc.services.mozilla.com/api/queue/v1/task/U9AVNs4CTqCR6GwmvXjhhQ/runs/0/artifacts/public/DeepSpeech.0.9.0-alpha.2.nupkg automatically adds the client, @erksch can you test in your side?
You will need to change the default target to x64(of your example), I’ll do it in a PR.