Skip to content

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

@HannahBruch

Description

@HannahBruch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions