Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
762 stars 305 forks source link

Build fails in Visual Studio 2022 #857

Closed sschaub closed 1 year ago

sschaub commented 2 years ago

🐛 Bug Report

Building XamarinMediaManager solution in Visual Studio 2022 fails.

Expected behavior

Build should succeed.

Reproduction steps

  1. Clone XamarinMediaManager from repo
  2. Open XamarinMediaManager/MediaManager.sln in Visual Studio 2022. All projects load successfully.
  3. Choose Build > Build Solution

Configuration

Version: 1.1

Platform:

Visual Studio 2022 version 17.1

See build log: buildfailure.txt

sschaub commented 2 years ago

Most of the errors seem to be related to MvvmCross. See snip from the attached log:

7>C:\dev\XamarinMediaManager\Samples\ElementPlayer.Core\ViewModels\BaseViewModel.cs(9,30,9,45): error CS0246: The type or namespace name 'IMvxLogProvider' could not be found (are you missing a using directive or an assembly reference?)
7>C:\dev\XamarinMediaManager\Samples\ElementPlayer.Core\ViewModels\BrowseViewModel.cs(15,32,15,47): error CS0246: The type or namespace name 'IMvxLogProvider' could not be found (are you missing a using directive or an assembly reference?)
7>C:\dev\XamarinMediaManager\Samples\ElementPlayer.Core\ViewModels\HomeViewModel.cs(14,30,14,45): error CS0246: The type or namespace name 'IMvxLogProvider' could not be found (are you missing a using directive or an assembly reference?)
sschaub commented 2 years ago

I was able to get the project to build by changing the MvvmCross package versions from 8.0.2 to 7.1.2.