Closed TheBestWorldProgrammer closed 7 months ago
NuGet\Install-Package : NU1202: Пакет SIPSorceryMedia.Windows 6.0.5 несовместим с net7.0 (.NETCoreApp,Version=v7.0). Пакет SIPSorceryMedia.Windows 6.0.5 поддерживает:
Any idea what target framework moniker would work?
TBH I've lost track of how to properly target nuget packages that need to use Windows OS functions. It's probably still something to do with WinRT but I've "given up keeping up".
Maybe changing to .netx.x-windows here (removing platform version) solve the problem.
Maybe changing to .netx.x-windows here (removing platform version) solve the problem.
The WinRT API's don't seem to be supported with just a *-windows
, e.g. net8.0-windows
, tfm.
Attempting it gives errors that the Windows.Graphics, Winows.Media etc namespaces cannot be found.
Here is Example Naudio .cproj
You're welcome to test this out yourself. The code is right here.