hxcs
hxcs copied to clipboard
UWP target. Compilation errors
We have business logic on Haxe. Now we try to start new platform - Universal Windows platform. But generated C# contains errors
1>uwp\src\Date.cs(48,55,48,78): error CS0234: The type or namespace name 'TimeZone' does not exist in the namespace 'System' (are you missing an assembly reference?)
1>uwp\src\haxe\rtti\Meta.cs(33,40,33,51): error CS1061: 'Type' does not contain a definition for 'IsInterface' and no extension method 'IsInterface' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
1>uwp\src\haxe\io\BytesBuffer.cs(26,24,26,33): error CS1061: 'MemoryStream' does not contain a definition for 'GetBuffer' and no extension method 'GetBuffer' accepting a first argument of type 'MemoryStream' could be found (are you missing a using directive or an assembly reference?)
1>uwp\src\haxe\CallStack.cs(81,16,81,26): error CS1061: 'StackTrace' does not contain a definition for 'FrameCount' and no extension method 'FrameCount' accepting a first argument of type 'StackTrace' could be found (are you missing a using directive or an assembly reference?)
1>uwp\src\cs\internal\Runtime.cs(385,170,385,222): error CS0039: Cannot convert type 'System.Type' to 'System.Reflection.MemberInfo' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion
1>uwp\src\cs\internal\Runtime.cs(523,51,523,60): error CS1061: 'Type' does not contain a definition for 'GetMember' and no extension method 'GetMember' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
1>uwp\src\cs\internal\Runtime.cs(532,13,532,24): error CS1061: 'Type' does not contain a definition for 'IsCOMObject' and no extension method 'IsCOMObject' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
1>uwp\src\cs\internal\Runtime.cs(641,133,641,144): error CS0117: 'BindingFlags' does not contain a definition for 'SetProperty'
etc