|
From: | Atif Saddique |
Subject: | Re: [Linphone-developers] Linphone Runtime Invalid Cast Exception |
Date: | Sun, 29 Mar 2015 04:23:31 +0500 |
Hi everyoneI am having issue running linphone on my windows phone device.When I build and run the application on emulators, it works fine but when I run the same application in my windows phone device it crashes.It gives an exception of invalid cast in file BackgroundManager.csat this given code while initializing the serverpublic Server OopServer{get {if (oopServer == null)oopServer = (Server)WindowsRuntimeMarshal.GetActivationFactory(typeof(Server)).ActivateInstance();return oopServer;}set {oopServer = value;}}The exception occures at bolded line when server is being initialized.I have checked that when the application runs on emulator, no exception occurs and the server is properly initialized, the exception is in only the case on windows phone device.Following are some of the things that I have tried without any luck of being succeeded.1. Visual Studio 2012 ultimate2. Visual Studio 2013 ultimate3. Windows phone 8.04. Windows phone 8.15. VS2012 update 46. sdk 8.0 emulator 3.0 update7. build and clean the solution a lot of times8. downloaded the latest version of code again from the url given at the linphone.org websitePlease help me with this issue , because I have spent almost a month on solving it, but no success.
[Prev in Thread] | Current Thread | [Next in Thread] |