microsoft / microsoft/psi

[Bug] Some audio assemblies are not present in the Microsoft.Psi.Audio NuGet package

Open
#325 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
574
Forks
104
Avg merge
19m
Merged PRs (30d)
1

Description

I was trying to use the classes ExportAudioToWaveFileTask and ExportAudioToWaveFileTaskConfiguration but they are not contained in the Nuget package.

var v = new ExportAudioToWavFileTaskConfiguration();

The above line of code results in a compile error, with code CS0246 and message "The type or namespace name 'ExportAudioToWavFileTaskConfiguration' could not be found (are you missing a using directive or an assembly reference?)". My code contains a reference using Microsoft.Psi.Audio;

Steps to reproduce:

  • Create a new .Net console app in Visual Studio
  • Add the Microsoft.Psi.Audio NuGet package to the solution

If you do this, you can use the object browser to see that several items from the Microsoft.Psi.Audio assembly are missing, including both ExportAudioToWaveFileTaskConfiguration and ExportAudioToWaveFileTask. Strangely, the classes these two inherit from are present (BatchProcessingTask and BatchProcessingTaskConfiguration), though they are both from the Microsoft.Psi.Data assembly.

Here's a screenshot of the installed NuGet packages and the Object Browser with missing classes in VS

Screenshot of missing classes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this in a new .NET console app using the Microsoft.Psi.Audio NuGet package, then compare the package contents with the documented Microsoft.Psi.Audio assembly and its Object Browser view. Done means ExportAudioToWavFileTask and ExportAudioToWavFileTaskConfiguration are available from the package and the shown configuration declaration compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.