'System.IO.FileMode' exists in both 'MonoGame.Framework.dll' and 'mscorlib.dll'

I’m trying to use FileStream in my MonoGame project. But I can’t because MonoGame uses FileMode enum in it’s dll. How do I fix this issue?

Here is the full error:-
The type ‘System.IO.FileMode’ exists in both ‘c:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows8\MonoGame.Framework.dll’ and ‘c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll’

Hi,

this may solve your problem: