[SOLVED] Unsupported shader type

I have been trying to convert a .fx file into a .mgfx, but when I try, it always fails, return the following text:

C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools>2MGFX “C:\Users\SolidusComputer\Documents\Visual Studio 2015\Projects\Test\Content\Effect.fx” “C:\Users\SolidusComputer\Documents\Visual Studio 2015\Projects\Test\Content\Effect.mgfx”
fail - Unsupported shader type or not a shader at all
Unsupported shader type or not a shader at all
Unexpected error compiling ‘C:\Users\SolidusComputer\Documents\Visual Studio 2015\Projects\Test\Content\Effect.fx’!

Shader File:

struct VSIN {
	float4 Position : POSITION0;
	float4 Color : COLOR0;

VSIN VSMain(VSIN input)
	VSIN output;

	//Create output.
	output.Position = input.Position;
	output.Color = input.Color;

	return output;

float4 PSMain(float4 input : COLOR0) : SV_Target0
	return input;

technique Main
	pass {
		VertexShader = compile vs_4_0_level_9_1 VSMain();
		PixelShader = compile ps_4_0_level_9_1 PSMain();

Edit: Nvm i was wrong i think

Your shader compiles for me.

If you are using crossplatform you must set the shader level to 3_0 instead of 4_0+

I made a dumb mistake.
I forgot to add the “/Profile:DirectX_11” tag on the command line…