Author Topic: BASS for .NET Core  (Read 97 times)

Selvakumar K

  • Guest
BASS for .NET Core
« on: 8 May '18 - 10:01 »
I am using the BASS.NET dll in .NET core project. It works fine when running in Windows. However when running the same .NET core project in Ubuntu.16.04, I am getting error saying,

System.DLLNotFoundException: Unable to load DLL 'bass': The specified module or one of its dependencies could not be found.
>
> At Un4seen.Bass.Bass.BASS_SetConfig(BASSConfig option, Int32 newvalue)
> At Un4seen.Bass.Bass.InitBass()
----
> At Un4seen.Bass.Bass.BASS_RecordGetDeviceCount()

Should i need to get this bass.dll placed in ubuntu so that it automatically picks up during execution?

thanks in advance
Selva


Ian @ un4seen

  • Administrator
  • Posts: 20764
Re: BASS for .NET Core
« Reply #1 on: 8 May '18 - 13:26 »
On Ubuntu, you will need the LIBBASS.SO file from the Linux BASS package (instead of the BASS.DLL from the Windows package).

Selvakumar K

  • Guest
Re: BASS for .NET Core
« Reply #2 on: 9 May '18 - 04:42 »
Thanks. Can you please let know where to get this package? Also please can you let know where to place this package in Ubuntu?

Ian @ un4seen

  • Administrator
  • Posts: 20764
Re: BASS for .NET Core
« Reply #3 on: 9 May '18 - 13:47 »
You can get the Linux BASS package from the BASS webpage (click the Linux logo at the top). I believe the LIBBASS.SO file should be placed alongside the BASS.Net DLL, like you would do with BASS.DLL on Windows.