Trying to play audio-file in MonoGame - embedded in a WPF-app: Via
SoundEffect _sound = null;
SoundEffectInstance _soundSpil;
It gives me the error below. Anyone know how to solve this issue?
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'SharpDX.ComObjectCallback' from assembly 'SharpDX, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1'.
Source=MonoGame.Framework
StackTrace:
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.PlatformDispose(Boolean disposing)
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.Dispose(Boolean disposing)
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.Finalize()
The file is silent, not playing...
Trying to play audio-file in MonoGame - embedded in a WPF-app: Via
SoundEffect _sound = null;
SoundEffectInstance _soundSpil;
It gives me the error below. Anyone know how to solve this issue?
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'SharpDX.ComObjectCallback' from assembly 'SharpDX, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1'.
Source=MonoGame.Framework
StackTrace:
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.PlatformDispose(Boolean disposing)
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.Dispose(Boolean disposing)
at Microsoft.Xna.Framework.Audio.SoundEffectInstance.Finalize()
The file is silent, not playing...