Is Xamarin Forms UWP Platform Broken for 64bit Builds? - xamarin

Ive spent hours trying to get my Forms app working on UWP. I finally realised I had the Solution Platform drop-down in Visual Studio set to 64 bit. When I set it to AnyCPU or 32bit it works fine.
The error I see is when running against a 64bit build is:
An exception of type 'System.NotImplementedException' occurred in Xamarin.Forms.Platform.UAP.dll but was not handled in user code
Additional information: The method or operation is not implemented.
I get this error in the constructor of the App.cs class in the portable project. The Stacktrace is:
at Windows.UI.Xaml.Setter.get_Value()
at Xamarin.Forms.Platform.UWP.WindowsResourcesProvider.GetStyle(Object nativeKey)
at Xamarin.Forms.Platform.UWP.WindowsResourcesProvider.GetSystemResources()
at Xamarin.Forms.Application..ctor()
at TestForms.App..ctor()
at TestForms.UWP.MainPage..ctor()
at TestForms.UWP.TestForms_UWP_XamlTypeInfo.XamlTypeInfoProvider.Activate_4_MainPage()
at TestForms.UWP.TestForms_UWP_XamlTypeInfo.XamlUserType.ActivateInstance()
When I tried again with a brand new Xamarin Forms project I get the same issue when trying to run it in 64 bit mode.
I cant remember reading anything about Xamarin Forms UWP not being supported on 64 bit.
Can someone from Xamarin help me out ?
Thanks

Looks like you are hitting this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=33135
If you would like to receive a notification when the bug is updated, you can add yourself to the CC list for the bug. Please note that you will need to create an account on that system if you have not already done so.

Related

Xamarin UWP App Store Submission gives error code 1201

I am trying to submit a UWP Xamarin Forms app to the Windows store. Everything checks out fine locally. I pass the WACK test (Windows Application Certification Kit) both locally as well as during submission. But during the submission process, I get a cryptic 1201 without any additional information. How can I get additional details to fix this issue.
Looking at some of the posts online, I removed ARM and only submitted an x64 bundle. That seemed to work fine the first time. But when I try and update the submission, I am getting error 1201.
Any and all help would be appreciated.
BTW, I am using VS2019, Xamarin Forms 5.0.0.2083
Thanks in advance.
The issue was not on my end but more to do with the idiosyncrasies of submission process in the Windows Store. I still get sporadic issues but I have resolved it with a combination of the following compiler flags:
Setting the Use64BitCompiler msbuild property to avoid memory issues
true
Ensuring that the release build is clean and working
I will update this answer as I learn more in my subsequent submissions.

Why is my project working fine when released or debugged in one system and not working in another system?

Currently I am working in a Xamarin native project which is well developed and in between when we introduced the image view with auto scroll with dot indicators the problem arrived.
The actual problem is when we release or debug from one system only the app is working fine or else if we do that from another system the app is unexpectedly stopped, if the testing phone is connected to the system and if that is in debug state it is working when we remove it from debug it is not working correctly.
I don't know the reason why it is happening.
Initially I thought that there is a problem with the SDK versions JDK Versions and all, I checked by almost equalizing the SDK, JDK and Xamarin versions but unable to detect the problem and correct it for reference of what we added into the project please refer the following links.
How to implement ViewPagers with Dot Sliders in Xamarin.Android?
How to Set auto sliders in pageviewers in xamarin.android
I am unable to detect the actual problem causing the problem can any one please let me know the solution of the problem.
When You get this type of issue then follow the steps below
1. Try to make a exact copy of SDk from the working system and copy in some other drive and map the reference in VS.
2.If that does not work then also, make sure all the versions in systems are equal.
If then also it does not work it is an internal issue so uninstall the complete VS and make a fresh installation this should work at any cost.

Break points are not active in VS2005

I have a windows mobile project in VS2005. Initially I could not get any breakpoints to enable on windows mobile 6 device but they worked on PocketPC2003 Emulator. It's a new computer at work and after a while I realised I had no installed any SDK's beyond 2003. Having now installed SDK's for windows mobile 5.0 6.0 and 6.5.3 I now have SOME of my breakpoints active.
My solution consists of a main application under which there are a few screens and associated code. There are also a series of other classes each of which compiles to a separate DLL. It seems the issue I have is that any breakpoints in these separate classes
work perfectly now. However any breakpoints in the main application class give an error "The breakpoint will not currently be hit. No symbols have been loaded for this document." I've tried a number of things including deleting the bin\debug and obj folders to clear old debug information. The PBD files appear to be created ok for the exe files as well as the class DLL's but only the Dll's work correctly in debug.
Any ideas guys. I really have to get this working as it needs to work on a device not just an emulator. I have an external DLL I need to use as part of testing that is very specific to a brand and model range of hardware. I wont explain why here, just suffice it to say I really need to get this sorted.
I'm still learning VS2005 So please be specific with suggestions as I might not yet know where to locate certain functionality.
I should probably add it works fine in windows mobile 5.0 emulator but I don't have a windows mobile 5 device to test with
Thanks in anticipation.
Well I don't know exactly what I did but it is now working. I read an article on here about enabling the module tab in the debug menu and after doing that it worked however I had done a couple of other things prior to doing that and hadn't tested it so not sure which it was that fixed it.

What's causing this weird Windows Phone Emulator crash?

I am trying to debug my Windows Phone 7 app, and I am getting the following error upon launching the app in the emulator (via VS2010 debug):
Unable to start program
'\Windows\tashost.exe\'
The drive cannot locate a specific area or track.
Any ideas as what may be causing this? The most recent change I made was adding functionality to save game data, via the IsolatedStorageFile. However, it was working for a while with this functionality in there.
I found the problem. If only I had read the release notes. For anyone else that might be experiencing this issue, it is addressed in the WPDT Beta Release Notes.
Release Notes - WPDT Beta 7/16/2010
Unable to start program error if
project not configured to build or
deploy. If a project is not configured
to build and or deploy a game, the
operation will fail with the following
error message:
Unable to start program
'\Windows\taskhost.exe'.
The drive cannot locate a specific area or track
on the disk.
To set a game project to
build or deploy: In Visual Studio 2010
Express for Windows Phone, click
Tools, then click Settings, then click
Expert Settings to enable the Solution
Configurations drop-down. From the
Solution Configurations drop-down in
the standard toolbar, select
Configuration Manager. Check the Build
and Deploy checkboxes.
what worked for me was to update my graphic card driver. Even though my computer said the device was up to date, going to the manufacturer website and downloading the latest drive allowed it to work. (using Nvidia by the way) this was after after about 5 hours of trying to figure this thing out.
also make sure you all the rest of your updates are up to date, and that directX is current.

Problem while loading Application into VB 6.0

Hope you all are fine and also in one of your best of moods!!
I am Working as an iPhone Developer, I have to develope an application which is already developed in VB 6.0, I have given individual forms of application, and I called to get Ideas and Requirements by Compiling that VB Application.
Please have a look at issue that i face during loading VB forms.
Issue:
I have installed VB6.0 in my PC. and While i am trying to open that forms(.frm&.frx) in VB it shows an error Like
IngotTextBoxCtl.dll
IngotComboBoxCtl.dll
IngotListBoxCtl.dll
IngotLabelCtl.dll
IngotOwnerDrawGridCtl.dll
IngotgridCtl.dll
IngotButtonCtl.dll
IngotCheckBoxCtl.dll
IngotRadioButtonCtl.dll
IngotHSScrollBarCtl.dll
Could not be loaded or open.
I don't know what all are this for.
You are missing control libraries for the Ingot controls, you will need to track down the assemblies and install / register them on your system, then ensure that the Components are available in the project via Project > Components.

Resources