开发者

Attempting Catapult game, after new XNA download.The type or namespace name 'GestureType' could not be found

开发者 https://www.devze.com 2023-01-17 21:01 出处:网络
I just recently downloaded the new version of XNA, and trying to follow a tutorial (that I thought was updated with the new version) I am getting a few errors

I just recently downloaded the new version of XNA, and trying to follow a tutorial (that I thought was updated with the new version) I am getting a few errors

The type or namespace name 'GestureType' could not be found (are you missing a using directive or an assembly reference?)

'Microsoft.Xna.Framework.Input.Touch.TouchPanel' does not contain a definition for 'EnabledGestures'

I was just wondering what reference to I have开发者_StackOverflow to add to get this to work? Thanks!

the new download was from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce&displaylang=en


According to the latest MSDN documentation is now in:

Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)


For some reason the project was trying to reference the old version. After creating a new project and moving my old code over, it is working well.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号