error CS0117: 'UnityEngine.Application' does not contain a definition for 'ExternalEval'

Hi,

I got this error,
Help me to solve this>>>>

if( Application.isWebPlayer )
			{
				string eval = string.Format( "var i = new Image(); i.src = '{0}'; document.body.appendChild( i );", url );
				Application.ExternalEval("window.open('"+ eval + "')");
				_logger.logSuccessfulRequest( url );
			}

It seems you try to compile your game, which has been designed for web player, for a different platform. ExternalEval does only exist when you build for webplayer.

You should cover all platform dependent code within platform dependent if statements.

You need UNITY_WEBPLAYER:

    #if UNITY_WEBPLAYER
        // your code here
    #endif

When using this everything inside this block will be removed when you compile for any other platform than webplayer.