3
Vote

Support for XNA 4.0

description

Not all of XNA 4.0 is supported. A good testbed is Krypton XNA http://krypton.codeplex.com/ I have been trying to get this to work with MonoGame. I get many errors.
 
Error 21 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' does not contain a definition for 'GetRenderTargets' and no extension method 'GetRenderTargets' accepting a first argument of type 'Microsoft.Xna.Framework.Graphics.GraphicsDevice' could be found (are you missing a using directive or an assembly reference?) KryptonEngine.cs 263 52 Krypton
Error 17 Argument 1: cannot convert from 'ref var.Position' to 'ref Microsoft.Xna.Framework.Vector3' KryptonRenderHelper.cs 261 50 Krypton
Error 18 Argument 2: cannot convert from 'ref Microsoft.Xna.Framework.Matrix' to 'ref Microsoft.Xna.Framework.Quaternion' KryptonRenderHelper.cs 261 64 Krypton
Error 19 Argument 3: cannot convert from 'out var.Position' to 'out Microsoft.Xna.Framework.Vector3' KryptonRenderHelper.cs 261 78 Krypton
Error 16 The best overloaded method match for 'Microsoft.Xna.Framework.Vector3.Transform(ref Microsoft.Xna.Framework.Vector3, ref Microsoft.Xna.Framework.Quaternion, out Microsoft.Xna.Framework.Vector3)' has some invalid arguments KryptonRenderHelper.cs 261 21 Krypton
Error 1 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 154 28 Krypton
Error 2 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 156 21 Krypton
Error 3 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 162 21 Krypton
Error 4 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 168 21 Krypton
Error 5 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 174 21 Krypton
Error 6 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 182 53 Krypton
Error 7 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 206 17 Krypton
Error 8 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 209 32 Krypton
Error 9 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 211 21 Krypton
Error 10 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 217 21 Krypton
Error 11 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 223 21 Krypton
Error 12 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 229 21 Krypton
Error 13 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 235 21 Krypton
Error 14 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 241 21 Krypton
Error 15 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 247 21 Krypton
Error 20 The type or namespace name 'VertexPositionColorTexture' could not be found (are you missing a using directive or an assembly reference?) KryptonRenderHelper.cs 301 64 Krypton

comments

dellis1972 wrote Jun 17, 2012 at 5:42 PM

Is this still an issue?

slygamer wrote Jun 29, 2012 at 1:45 PM

Most of that should now work in the develop3d branch. Squizzle, are you able to run the test again on the develop3d branch?