Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: NAudio crashes on startup.

$
0
0

I'm not using ISS, I'm using a regular DLL build of the library.

I'm not using any particular class. The exception happens as soon as any function with NAudio objects is reached. Here's all the info:

 

System.BadImageFormatException was unhandled by user code
  Message=Could not load file or assembly 'NAudio, Version=1.5.4.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
  Source=Ego Audio Tool
  FileName=NAudio, Version=1.5.4.0, Culture=neutral, PublicKeyToken=null
  FusionLog==== Pre-bind state information ===
LOG: User = Tom-PC\Tom
LOG: DisplayName = NAudio, Version=1.5.4.0, Culture=neutral, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///C:/Users/Tom/Documents/Visual Studio 2010/Projects/EgoMusicEditor/EgoMusicEditor/bin/Release/
LOG: Initial PrivatePath = NULL
Calling assembly : Ego Audio Tool, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\Tom\Documents\Visual Studio 2010\Projects\EgoMusicEditor\EgoMusicEditor\bin\Release\Ego Audio Tool.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Users/Tom/Documents/Visual Studio 2010/Projects/EgoMusicEditor/EgoMusicEditor/bin/Release/NAudio.DLL.
ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.

  StackTrace:
       at Ego.AudioTool.EgoAudioTool.StopSample()
       at Ego.AudioTool.EgoAudioTool.LoadDictionaries() in C:\Users\Tom\Documents\Visual Studio 2010\Projects\EgoMusicEditor\EgoMusicEditor\App.xaml.cs:line 82
       at Ego.AudioTool.EgoAudioTool.AppState.set_CurrentGame(Game value) in C:\Users\Tom\Documents\Visual Studio 2010\Projects\EgoMusicEditor\EgoMusicEditor\App.xaml.cs:line 230
       at Ego.AudioTool.MainWindow.ChangeGame() in C:\Users\Tom\Documents\Visual Studio 2010\Projects\EgoMusicEditor\EgoMusicEditor\Windows\MainWindow.xaml.cs:line 186
  InnerException: 

I'm using a .net 4 build, but changing to 2 or 3 doesn't help.

 


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>