Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

when will the NETFX_CORE be activated?

Discussion in 'Windows' started by TongMing, Nov 19, 2014.

  1. TongMing

    TongMing

    Joined:
    Oct 21, 2014
    Posts:
    31
    1, Unity document said that NETFX_CORE be activated when building for WP8.1, but I remembered who said the NETFX_CORE only exists under the config of "Use NET Core", so if config it as "Use NET Core Partially", the NETFX_CORE will never be used at all?

    2, if Q1 is true, what I should to do to wrap my WinRT code is using "#if UNITY_METRO && !UNITY_EDITOR", right?

    Thanks.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,521
  3. TongMing

    TongMing

    Joined:
    Oct 21, 2014
    Posts:
    31
    so if config it as "Use NET Core Partially", and my C# scripts are in the "Assets\Plugins" folder then the NETFX_CORE with in the C# scripts will never be used, right?
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,660
    Correct, those will be compiled using Mono compiler and won't have that define.