Reply To: [NC2] Compile errors building v2.1 for WSA platform

Forums 💬 NodeCanvas ⚙️ Support [NC2] Compile errors building v2.1 for WSA platform Reply To: [NC2] Compile errors building v2.1 for WSA platform

#19201
pjohalloran
Participant

    So I have NodeCanvas compiling now on WSA platform but with code compiled out in some cases as i was unsure what to do…

    The non trivial compile errors are to do with trying to access the “ReflectedType” property in various places in the code base from a System.Reflection.MethodInfo or System.Reflection.PropertyInfo reference.

    Apparently this property is not available directly and is accessible via Type.GetTypeInfo() on the .NET framework used on WSA platform.
    See https://msdn.microsoft.com/en-us/library/hh535795.aspx

    Although i am unsure how to properly get the type info from the MethodInfo or PropertyInfo classes… Continuing on this issue. Some advice on how to fix would be great if you are not too busy. 🙂