What causes this kind of exception? I copied a solution from one machine to another but it works only on one of them. I guess there is something messed up with my MonoGame installation on the machine where I get this exception:
Microsoft.Xna.Framework.Content.ContentLoadException occurred
HResult=0x80131500
Message=Could not find ContentTypeReader Type. Please ensure the name of the Assembly that contains the Type matches the assembly in the full type name: Microsoft.Xna.Framework.Content.ReflectiveReader`1[[Microsoft.Xna.Framework.Content.Pipeline.Graphics.MaterialContent, MonoGame.Framework.Content.Pipeline, Version=3.7.0.1232, Culture=neutral, PublicKeyToken=null]] (Microsoft.Xna.Framework.Content.ReflectiveReader`1[[Microsoft.Xna.Framework.Content.Pipeline.Graphics.MaterialContent, MonoGame.Framework.Content.Pipeline]])
Source=MonoGame.Framework
StackTrace:
at Microsoft.Xna.Framework.Content.ContentTypeReaderManager.LoadAssetReaders(ContentReader reader)
at Microsoft.Xna.Framework.Content.ContentReader.InitializeTypeReaders()
at Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
Found out I get this error also in other projects now. I think this has to do with the Installation of the latest development build. Is there anything related to content that needs to be changed inside the visual studio solution, so that everything works with the latest development version of MonoGame?
Sure, where can I download SharpDX 4.0.1? I tried downloading the nuget package and cloned the repo (tag v4.0.1) but I could not find a Mathematics.dll?
Thanks for your help. Maybe I could try some other development versions, to find out where or when the break happened?
Can I access the other team city installations somehow?
Note, I’m using the now current 3.8.0.402 pipeline that came with the now current dev build, and this is still not fixed.
I have to use the dev build because 3.7.1 still did not fix the OpenAL bug.
That or go back to 3.6.
Open the mgcb file in the mgcb-editor and select the content, then on the left you can change which importer will be used for the selected asset / model.