weespin / WillFromAfarDownloader

acapellabox pwned.
GNU General Public License v3.0
96 stars 17 forks source link

Create linux native binary using mono #25

Closed Tank-Missile closed 1 year ago

Tank-Missile commented 1 year ago

Mono is an open-source utility that allows the developer to execute .NET centric applications on other platforms such as Mac or Linux. Currently, when trying to run this application under mono, I get the following error:


System.DllNotFoundException: winmm.dll assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) NAudio.Wave.WaveInterop.waveOutGetNumDevs()
  at NAudio.Wave.WaveOut.get_DeviceCount () [0x00000] in <554b80148c284b99953f098db496ebd4>:0 
  at AcapellaDownloader.Form1.Form1_Load (System.Object sender, System.EventArgs e) [0x00027] in <c1bebbc2adbe4152873bb9df0f44a75a>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <c6f7ca72402d44ffad61bbfb1e840a0f>:0
weespin commented 1 year ago

Well, try to run it under wine.

Tank-Missile commented 1 year ago

I did try running it under wine, but the play button would only work the first time and then freeze the application the second time. I believe using something like mono could improve compatibility with Linux without needing to install a compatibility layer like wine.

PF94 commented 1 year ago

just install net framework 4.5, it fixes the issue.