error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `Metro'

I have just upgraded my project to unity 5 from 4 and i am getting this error, does anyone have any idea why this is happening, and how i can fix it?

Assets/Heureka/AssetHunter/Editor/AssetBuildReport.cs(107,52): error CS0117: UnityEditor.PlayerSettings' does not contain a definition for Metro’

In Unity 5 Release Notes, it says:
“‘Metro’ keyword was replaced to ‘WSA’ in most APIs, for ex., BuildTarget.MetroPlayer became BuildTarget.WSAPlayer, PlayerSettings.Metro became PlayerSettings.WSA. Defines in scripts like UNITY_METRO, UNITY_METRO_8_0, UNITY_METRO_8_1 are still there, but along them there are defines UNITY_WSA, UNITY_WSA_8_0, UNITY_WSA_8_1.”

Try that.

Thank you very much , your answer helped me today.

Thank you so much, Sir, It helped me a lot