Switching to Release mode causing problems

Hi there
In VS Solution Configuration = Debug I have a successfully running Android application.
As soon as I switch Solution Configuration to Release and run it, it starts on device but VS stops running immediately with giving no message or trace.
How to figure out what is happening?
Thanks.

Posts

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Does it work if you click on icon on Android?

  • BillAllen.8468BillAllen.8468 CAMember

    Which icon on Android? On device?

  • MihaMarkicMihaMarkic SI ✭✭✭✭

    Yes, I mean starting the app from within Android, not with Visual Studio.

  • BillAllen.8468BillAllen.8468 CAMember

    Yes, I can work with App on device but it is always the previous build with Debug setting on. Again, as soon as I switch to Release mode, build, run - it starts App on device (the previous Debug one) and the VS stops running with no clear reasons.

    Where ever I have the compiler conditional directives, it shows code in accordance with Debug/Release, but I never saw the Release code running on device.

    Thoughts?

Sign In or Register to comment.