Skelord
1
Hello, from 2 days now, visual studio 2015 raise an exception when i launch my game at the line:
public Game1 : Game
{
public Game1() // here
{
[…]
The error is :
An unhandled exception of type ‘System.TypeInitializationException’ occurred in MonoGame.Framework.dll
Additional Information: An exception was thrown by the type initializer for ‘OpenTK.Audio.AudioContext’.
I could not solve it so what can I do ?
(sorry for my english )
public class Game1 : Game
{
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
public Game1()
...
That’s what I got on a new project…
Have you got OpenAL installed?
1 Like
Skelord
3
It works ! Thanks ! I don’t know why my OpenAL was uninstalled
1 Like
You may have removed it when removing a game thinking it was a part of that install… used to do that back in the Windows 7 days
1 Like