well I have finally started building my own MonoGame dlls (based on the old version which ran fine) and i can't compile any effects either.
So - everything works with the default 3.6.187 monogame dll.
But if i compile my own monogame dll (revision from April 10th, so should conform to 3.6.187) it doesn't work. That shouldn't be possible right? Nothing changed.
Except maybe the dependencies...
The problem seems to not lie with the MonoGame changes, but rather with some SharpDX changes.
(again when trying to build a pixel shader it says
Additional information: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: The parameter is incorrect.
in this thing here:
private void CreatePixelShader()
System.Diagnostics.Debug.Assert(Stage == ShaderStage.Pixel);
_pixelShader = new PixelShader(GraphicsDevice._d3dDevice, _shaderBytecode);
It seems the problem lies with the SharpDX dependency? Maybe something changed on their part?
Maybe some baseline things changed? No more support for certain semantics? Any idea? (for what it's worth it doesn't compile simple pass through shaders either)
I've red a lot of threads about this error and it usually revolves around the GPU not supporting some of the features.
That's rather impossible in my case, I have a fully fledged dx11 card and it worked before. Hmm.