Search Unity

Entity Framework not building for UWP

Discussion in 'Windows' started by artsouflM, Feb 1, 2019.

  1. artsouflM

    artsouflM

    Joined:
    Nov 27, 2017
    Posts:
    6
    Hello,

    I am using unity 2018.3.3f1.
    I downloaded through NuGet, Entity Framework 6.2.0
    Tried to build for UWP but it fails with the following log:

    Reference rewriter: Error: method `System.Object System.Configuration.ConfigurationElement::get_Item(System.String)` doesn't exist in target framework. It is referenced from EntityFramework.dll at System.String System.Data.Entity.Internal.ConfigFile.InterceptorElement::get_TypeName().
    UnityEngine.Debug:LogError(Object)
    PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1064)
    PostProcessWinRT:process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:217)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Anyone that could help with this?
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Entity Framework is only supported on IL2CPP scripting backend. Are you by any chance using .NET scripting backend?
     
  3. artsouflM

    artsouflM

    Joined:
    Nov 27, 2017
    Posts:
    6
    Hello :)
    Thanks for the reply
    I was trying to build on IL2CPP
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    Can you report a bug on this?
     
  5. artsouflM

    artsouflM

    Joined:
    Nov 27, 2017
    Posts:
    6