Xamarin Forms - Xamarin.Forms.Platform.UWP.ImageRenderer.UpdateAspect() - xamarin.forms

I saw some post about it but, unlike them, me it only happens since the update of VS2015 to VS2017, any idea?
at Xamarin.Forms.Platform.UWP.ImageRenderer.UpdateAspect()
at Xamarin.Forms.Platform.UWP.ImageRenderer.<OnElementChanged>d__3.MoveNext()
End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()"
My project is a Forms Portable Project, tell me if you want any details, I'll edit the question ! Also, I use a renderer for Android, but not for UWP, it works on android, but it shouldn't be the problem since it worked before
Thank in advance

It's probably a bug in Xamarin Forms: https://bugzilla.xamarin.com/show_bug.cgi?id=37022
Updating Xamarin Forms should do the trick. I installed Xamarin.Forms version 2.3.5.239-pre3, which solved my problem.

Related

Xamarin Forms UWP: Reference to type 'Assembly' claims it is defined in 'System.Runtime', but it could not be found

Already posted a question related to this issue, but the solution there is not solving the issue now for another project.
My error:
Severity Code Description Project File Line Suppression State Error CS7069 Reference to type 'Assembly' claims it is defined in 'System.Runtime', but it could not be found
I have this problem after updating xamarin forms to 3.4.0.1008975 from 2.5.0.121934. Problem is only on the UWP part. Android and IOS apps are working fine.
Error lines:
var rendererAssemblies = new List<Assembly>
{
typeof(ImageCircleRenderer).GetTypeInfo().Assembly
};
rendererAssemblies.AddRange(Rg.Plugins.Popup.Popup.GetExtraAssemblies());
Rg.Plugins.Popup.Popup.Init();
Xamarin.Forms.Forms.Init(e, rendererAssemblies);
Another solution found on this thread. The solution on this thread is downgrading the xamarin forms to version 2.5.1.527436 in all the projects. But I can't do that in my project, because I am using some features that are available in the latest xamarin forms.
So how can I fix this issue without degrading the xamarin forms?

LoadApplication(new App()) fails TypeLoadException in Xamarin Forms Acr.UserDialog

I migrated my Xamarin.Forms app from Portable to .NET Standard because I need to add a function that requires the upgrade. I [finally] got everything to build, now when I start up either the Droid or iOS project, my app throws a
TypeLoadException
I was under the impression this worked a lot smoother than it actually does. I need to get back to my original task which was adding the new functionality but I have to get the thing running first. I could really use, and appreciate the help.
Thanks!

MvvmCross Sqlite UWP

I have created Android application using MvvmCross now I would like to add UWP project also. First thing which stopped me is SQLite. While app start I have following error:
MvvmCross.Platform.Exceptions.MvxIoCResolveException: 'Failed to
resolve parameter for parameter factory of type
IMvxSqliteConnectionFactory when creating
Theseus.Mobile.Core.Services.LocalStorage.LocalStorageService'
I am reading google since 2 hours and adding wierd references but still nothing works. Did somone faced the problem ?

Xamarin Forms errors but running fine

My new Xamarin Forms compile and runs fine.
Anyway, the XAML is full of errors (the code is underlined) and IntelliSense doesn't work :
I'm running VS 2017. The error says that the property is not found in the type. That's strange because an application with this error typically won't run.
Here is an example of the error (in french)
Any idea on what could happen here ?
Many thanks in advance,
Julien
I recreated the application from scratch and now it's working.
Mysteries of computer science ...

ERROR ITMS-9000: “No architectures in the binary"

I am getting an error trying to upload an app to the iOS store.
The application was developed using FlashBuilder 4.7 and Flex 13.0.
ERROR ITMS-9000: “No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.” At SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
Does anyone have any ideas as to what this error is? Any help would be appreciated.
Thanks.
Try to fix your application.xml:
<iPhone>
<InfoAdditions><![CDATA[...
<key>MinimumOSVersion</key>
<string>6.0</string>
]]></InfoAdditions>
I found solution of my question after lots of try. After updating an air sdk still I got this issue.
Solution of this issue is simple.
We don't need to use any digit in app Id.
for example:
App was not submitteds app id contains digit like com.adobe.sample.7th
then I created new app having app id like com.adobe.sample.seventh and I was able to submit this app to store.

Resources