Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[HOTFIX] UWP Builds
#1
Exclamation 
This hotfix fixes an incompatibility with UWP10 build:

In Packages\DevTools\Extensions\Extensions.cs, replace IsArrayOrList(this Type type)

Code:
public static bool IsArrayOrList(this Type type)
{
#if NETFX_CORE
            return (type.IsArray || (type.GetTypeInfo().IsGenericType && type.GetGenericTypeDefinition() == typeof(List<>)));
#else
            return (type.IsArray || (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(List<>)));
#endif
        }
Reply


Messages In This Thread
[HOTFIX] UWP Builds - by Jake - 06-21-2017, 06:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CurvyEvent.cs -> HasListeners() throws exception in WebPlayer builds sindrijo 1 3,769 03-07-2016, 08:22 AM
Last Post: Jake

Forum Jump: