0
votes

Am porting my Windows Phone 8 app to Windows Phone 8.1 and everything is working fine in debug mode. But when I set in release mode and while building the application, I get the error,

  • The type of namespace "FlickGestureEventArgs" could not be found
  • The type of namespace "ShakeGestureEventArgs" could not be found

How to overcome this? I couldn't launch the app certification kit when in debug mode.

1
Does the project contain any #if DEBUG or similar directives? - user2864740
Ya I have, but those lines are commented. - Balasubramani M
The only reason I can think of for this change in behavior is if one of the directives is only conditionally declaring a type. - user2864740

1 Answers

0
votes

Got solution for my own question and here is my answer.

First I re-installed the WP toolkit from nuget using the command

Install-Package WPtoolkit

So that I can able to solve FlickGestureEventArgs. And similarly I thought this will be solution to my another problem ShakeGestureEventArgs. Started searching for the new ShakeGesture.dll and find that in below link.

ShakeGesture.dll

Now my problem is solved. If you are facing the same issues, just re install the packages which shows error and you can able to solve it.