Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UWP Hololens build
#1
Getting this error on build:
Assets\Packages\DevTools\Extensions\Extensions.cs(1052,43): error CS1061: 'Type' does not contain a definition for 'IsGenericType' and no extension method 'IsGenericType' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)


I had read earlier that UWP was supported in Curvy, if someone could point me how to fix this issue, that would be great Smile -using 5.6.
Reply
#2
Please replace the following function inside /Packages/DevTools/Extensions/Extension.cs:

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
       }

That should fix it!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invisible generated meshes in build itsGama 5 10 06-08-2023, 11:53 AM
Last Post: _Aka_
  Missing Loader errors after build FanManPro 8 9 01-20-2023, 11:45 AM
Last Post: _Aka_
  Efficiently chopping up a build extrusion? blabz2007 2 9 08-05-2022, 10:43 AM
Last Post: _Aka_
  Is Curvy splines appropriate to build city streets? atantoine 3 263 11-17-2021, 12:03 PM
Last Post: _Aka_

Forum Jump: