I created a new DirectX project and compiled a shader with MGCB.
However, at runtime I get the below error when trying to load the effect:
- ‘This MGFX effect was built for a different platform!’
This is from my project file:
MGCB seems to be passing the correct platform switch: /platform:Windows
I’m not sure what else to check ?
PackageReference Include=“MonoGame.Framework.WindowsDX” Version=“184.108.40.2061”
PackageReference Include=“MonoGame.Content.Builder.Task” Version=“220.127.116.111”