AydinAdn/MediaToolkit

MediaToolkit not recognised in Xamarin (Forms)

Opened this issue · 1 comments

Currently Xamarin does not recognise MediaToolkit as a NuGet package so I cannot convert video files into audio files. Previously I made a desktop app that manages youtube videos (with the option to download them and convert to audio files) using MediaToolkit. I tried to use MediaToolkit in Xamarin but it didn't work:

The type or namespace name 'MediaToolkit' could not be found (are you missing a using directive or an assembly reference?

Could you add Xamarin compatibility?

I found that the nuget package could not be installed, here is the output:

Attempting to gather dependency information for package 'MediaToolkit.1.1.0.1' with respect to project 'Youtube_Downloader.Android', targeting 'MonoAndroid,Version=v8.0'
Gathering dependency information took 218.71 ms
Attempting to resolve dependencies for package 'MediaToolkit.1.1.0.1' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'MediaToolkit.1.1.0.1'
Resolved actions to install package 'MediaToolkit.1.1.0.1'
Retrieving package 'MediaToolkit 1.1.0.1' from 'nuget.org'.
Install failed. Rolling back...
Package 'MediaToolkit.1.1.0.1' does not exist in project 'Youtube_Downloader.Android'
Package 'MediaToolkit.1.1.0.1' does not exist in folder 'C:\Projects\Release\Youtube Downloader\packages'
Executing nuget actions took 9.88 sec
Could not install package 'MediaToolkit 1.1.0.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v8.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Time Elapsed: 00:00:10.2721822
========== Finished ==========