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
  CurvySpline.Count return 0 after build BastienCil 1 578 06-29-2017, 06:24 PM
Last Post: BastienCil
  32Bit build train gets stuck/output spam xTheEc0 0 433 02-01-2017, 02:15 PM
Last Post: xTheEc0
  How to build a routing map with curvy? wollong 2 1,455 03-22-2016, 10:07 PM
Last Post: Jake
  Windows Store Build TriplePAF 2 1,483 01-03-2016, 02:22 PM
Last Post: Jake

Forum Jump: