I found the solution here:
I had to change this:
float4 PixelShaderFunction(float2 texCoord : TEXCOORD0) : COLOR0
to:
float4 PixelShaderFunction(float4 position : SV_Position, float4 col : COLOR0, float2 texCoord : TEXCOORD0) : COLOR0
to make it work.
I will now go over the rest of the effects files and do the same.