If NETFX_CORE is for Windows 8, what is it for Windows Phone 8?


I understand using the NETFX_CORE directive, like this:

    // Windows 8
    // Windows Phone 8

More info: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj714084(v=vs.105).aspx

But is there a directive specific to Windows Phone 8?

Yes, the Windows Phone directive is:


This is documented here, but I'm surprised that it isn't mentioned here. I also tested this in some code, and it works.