MonoGame.Forms not rendering properly

So I have this Monogame.Forms control class all rendered out and everything. It shows the standard toolbox window.

But fsr whenever I try to run the program it does not render afterwards.

I also keep getting this weird error message whenever I default it to just the Windows Form Project.

Could not load file or assembly 'SharpDX.XAudio2, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1

I have 2 projects, a standard MonoGame windows project and a windows form project with .Net Framework.

Capture2

This is the class Iā€™m using for the Designer Window and is being inherited the standard way.

using MonoGame.Forms.Controls;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace WindowsGameEditor
{
    public class GameControl : MonoGameControl
    {
       
        protected override void Initialize()
        {

            base.Initialize();
        }

        protected override void Update(GameTime gameTime)
        {
           
            base.Update(gameTime);
        }

       
        protected override void Draw()
        {
            
            base.Draw();
        }

    }
}

Any input would be great. Thanks.

Nevermind. Fixed it. Was missing a dll file for some odd reason

1 Like