System.MissingMethocException on Xamarin.Forms - exception

After updating my Xamarin.Forms package, It has started to crash at the beginggin of the app launch.
It says ; Method.Xamarin.Forms.Xaml.Internals.SimpleValueTargetProvider..ctor not found.
How can I fix it?
I have tried cleaning, restarting Xamarin Studio and Rebuilding. But no success, still getting exception.
Could you please show me the way?
BR,

If your app doesn't depend on any 3rd party Xamarin.Forms component compiling it's xaml with XamlC, you can fix your problem by making sure ALL your projects are up-to-date with latest Xamarin.Forms.
If you depend on a 3rd party project distributed to you as an assembly, the problem is known:
https://bugzilla.xamarin.com/show_bug.cgi?id=48105
and a solution exists:
https://github.com/xamarin/Xamarin.Forms/pull/583
This should be included in a service release in the next few days.

Related

Missing Microsoft.Threading.Tasks.dll in runtime

   I just updated Google.Apis.Drive.v2 to version 1.16.0.609 and right after that started getting runtime exception "missing Microsoft.Threading.Tasks.dll". I put all the logic in regards to the google drive access into a separate assembly. I have an application referencing that assembly. Microsoft.Threading.Tasks.dll is really missing from that assembly and from the application.
I managed to fix it adding nuget Microsoft.Bcl.Async to the application but all that looks way too strange. First of all the application is UWP application and technically Microsoft.Threading.Tasks.dll shouldn't be necessary to it at all. Another thing is even if it is necessary for some reasons why it is not picked up as Google.Apis.Drive.v2 nuget dependency?

Errors while submitting windows phone app to the store

i was trying to submit my app to the Windows Phone Store, but i got these errors:
In Visual Studio 2013, i compiled the solution as release and not as debug. One of those Microsoft's links (the first error) suggests to add a flag to the linker, but i didn't manage to do that.
Also, the second one regards a bunch of unsupported APIs that i didn't even include in my project. Did someone face the same issue?
Thanks
Please check thirdparty libraries or you code for some API which not allowed for Windows Phone 8.1 Store Apps
For example, I added Flurry WP8.0 SDK in my WP8.1 Store App and I have the same problems. After that I removed Flurry and Store accepted my App

need to add crash reporting functionality in wp8 app

I have developed a Windows Phone app in WP7.1 and WP8. I need to implement crash reporting functionality to my app. Whenever a force-close happens, I'd like to get all the details of what happened. Does anyone know the best way to go about this?
The diagnostics element of Telerik's Windows Phone control suite includes error reporting.
Alternatively, you could look at one of the many Little Watson implementations.
On WP8 you can use Flurry which has an event handler for Unhandled Exceptions. It's not incredibly detailed I've noticed but it's free. The advantage being you can throw log error calls around to try and narrow it down.
I'm using BugSense and am very happy with it. Beside the crash reporting with notifications, you also get nice statistics, like which app version on which device is the most affected by a problem and so on. Usage is as simple as referencing the assembly and calling one init function, although you can customize what gets reported (custom values like a userId or some other metric). They provide free and paid versions of the system. The support has also been great. I highly recommend it.
you can try yandex appmetrica for win phone https://github.com/yandexmobile/metrica-sample-dotnet

MVVMCross Vee Three Solution

This could be a really dumb question, but I just can't seem to open the v3 solution file.
I experienced something similar on the vNext, but after an hour or so it resolved itself and seem to set itself up ok for future access. This v3 has been running overnight and still not loaded.
Any suggestions?
Thanks
Lee
Really you need to supply more information - what operating system are you on? Which development environment(s)? Which SDKs do you have installed?
V3 is currently being developed in Xamarin Studio (v4.0.2) on the Mac for iOS and on a custom build of Xamarin iOS and Droid plugged into VS2012 Ultimate on the PC - with WP7.1 and WP8 SDKs both installed, and with resharper (and a smattering of other code too)
I've checked in a lot of code in the last 24 hours - so it's worth getting the latest again from source control and seeing if that helps.
If it doesn't then is there any more information published to the output windows about what is going wrong? I've personally had a lot of problems and a lot of wasted time with the Xamarin plugins in VS2012 - the activation modules are a nightmare (which is why I have a custom build currently installed)

Does mvvmcross support windows phone 8?

I'm working my way through the MMVMCross Tip Calculator tutorial.
Got an Android instance up and running and have now turned my attention to Windows Phone 8.
So far, I can't find the Cirrious.MvvmCross.Plugins.Json assembly in the WindowsPhone bin folder, and I'm also having issues with the CreateApp() method not being able to resolve the Core.App class (there are a bunch of suggestions for chasing down the Core namespace but none of them have an App class inside that I can see).
When I comb through the docs it seems WP7 is supported explicitly, but no mention of 8. Anybody have any luck getting this scenario going? Is there a hack I'm missing?
After installing the Nuget package (The HotTuna Startup) in an Andriod project, I was unable to build and was getting the same problem in the CreateApp() where Core is not resolved. I had missed adding the package MVVMCross.Core and MvvmCross - Hot Tuna Libraries (which added the app.cs) to my core PCL library. Those Nuget packages are a great way to get started!
It's obvious now, but maybe this will help someone else.
Yes, Windows Phone 8 is supported, but there's no specific extensions for WP8 yet (e.g. we still use the Community C# SQLite code)
The Core.App class should be in your Core/application project. e.g. in the tutorial it's in https://github.com/slodge/MvvmCross/tree/vnext/Sample%20-%20Tutorial/Tutorial/Tutorial.Core