Everything works fine when vuilding my project against a desktop target, however we want the project to be launched from within the Windows Store.
Building the project (Visual Studio 2013 project) againt the ARM target, following issue does pop up, preventing the project from building:
Error 1 The type or namespace name 'UI2DSprite' could not be found (are you missing a using directive or an assembly reference?) F:\Unity 4\Chess\Unity\Assets\NGUI\Scripts\Interaction\UIButton.cs 78 25 Assembly-CSharp-metro-vs2013
I'm using the latest NGUI 3.6.3 (yes, I completely removed the previous version of NGUI and no other asset is dependent on NGUI, so no lite versions etc are in the project) and Unity 4.5.0f6.
Looking at the project within Unity I see the file UI2DSprite is present and has the following preconditions specified:
#if !UNITY_3_5 && !UNITY_4_0 && !UNITY_4_1 && !UNITY_4_2
This would mean the UI2DSprite class should be included into the visual studio project and it is, as I can locate it under Assembly-CSharp-metro-vs2013 (Windows 8.1)\Assets\NGUI\Scripts\UI.
For some reason the class isn't picked up though.
Anyone any idea on how to resolve this?