Cocos2DXNA / cocos2d-xna

XNA Port of Cocos2d-X
www.cocos2dxna.com
227 stars 123 forks source link

WP7 build failure on missing Tuple class #429

Closed totallyeviljake closed 10 years ago

totallyeviljake commented 10 years ago

The nightly master build for Windows Phone 7 is failing:

platform\CCContentManager.cs(140,28): error CS0246: The type or namespace name 'Tuple' could not be found (are you missing a using directive or an assembly reference?) [c:\jenkins_workspace\Cocos2D-XNA-Windows\cocos2d\cocos2d.Phone.csproj]

The stable release does not fail.

Arkiliknam commented 10 years ago

From the sound of it its using an earlier version of .NET in the target framework. Perhaps someone rolled it back to .NET 3 before checking in?

totallyeviljake commented 10 years ago

Yeah, it is set to .NET 2 ...

totallyeviljake commented 10 years ago

This merge broke the WP7 build on master. It has not been pushed to stable yet:

https://github.com/Cocos2DXNA/cocos2d-xna/commit/b91cf1009926853d97b6c7ced886cb80e552a699

Windows Phone 7.1 (.NET 4 Client Profile) does not have a Tuple class...

totallyeviljake commented 10 years ago

Fixed with https://github.com/Cocos2DXNA/cocos2d-xna/commit/a4216a595302e1149e123b4ab0197b7a8039640d