Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dweebster on May 12, 2014, 12:55:11 PM
-
With the latest update v3.5.9 I get the following errors when compiling for Windows Store using SDK 8.0.
Assets\NGUI\Scripts\Internal\ByteReader.cs(31,19): error CS0103: The name 'File' does not exist in the current context
Assets\NGUI\Scripts\Internal\DataNode.cs(724,12): error CS1061: 'System.Type' does not contain a definition for 'IsAssignableFrom' and no extension method 'IsAssignableFrom' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)
Assets\NGUI\Scripts\Internal\DataNode.cs(727,12): error CS1061: 'System.Type' does not contain a definition for 'IsEnum' and no extension method 'IsEnum' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)
The first error I'm pretty sure was not there on earlier versions.
-
Part I found was already reported and a solution suggested:
http://www.tasharen.com/forum/index.php?topic=9434.0
-
For the 2nd issue I found a similar one:
http://www.tasharen.com/forum/index.php?topic=9135.msg43104#msg43104
But the suggestion to have:
#if UNITY_EDITOR || (!UNITY_FLASH && !NETFX_CORE && !UNITY_WP8)
#define REFLECTION_SUPPORT
#endif
In the top doesn't work as it was already present, any additional advise is welcome!
-
BUMP - Still having problems with building for Windows Store apps.
Anyone succeeded building NGUI 3.6 for Windows Store apps? If yes, let me know how u managed!
-
What compile issues are you seeing in 3.6.0? I need line numbers and such.
-
These are the errors I get:
Assets\NGUI\Scripts\Internal\DataNode.cs(725,12): error CS1061: 'System.Type' does not contain a definition for 'IsAssignableFrom' and no extension method 'IsAssignableFrom' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)
Assets\NGUI\Scripts\Internal\DataNode.cs(728,12): error CS1061: 'System.Type' does not contain a definition for 'IsEnum' and no extension method 'IsEnum' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)
-
DataNode? It was removed...
You need to follow upgrade instructions from the readme file.
-
DataNode? It was removed...
You need to follow upgrade instructions from the readme file.
You are correct somehow I managed to import an old version of NGUI and then it was upgraded. Now it works properly, thanks for the help!