I have created a windows phone App 8.1 with xamarin shared project. After creating the XAP file, I tried to install in the WP device using Windows Phone 8.1 Deployment tool. It is being installed without any problem.
But if I install the same using different machine and device it shows the following error.
Native Images generated against multiple versions of assembly System.Net.Http.Phone
I checked this and this, but could not make out since the difference in assembly.
Should I need to do something in the other machine or need to do something in my development machine to get this thing done. Please Help :(
Related
I have looked through the Microsoft documentation but everything seems to want you to run everything with the development code. I used a bitbar tutorial to help start my C# xamarinui test framework. I have the emulators working I just want the apk and ios apps to install as the first test. I know how to drag and drop and put the app on the phone manually. I am looking for a way to get the app to install and launch through test code or by some operation. I do not have access to the source.
Only for the Android case, google for the apk, usually they are available on sites like apk pure etc. If the apk has executables for x86 inside you could install in on android simulator using just drag and drop.
For iOS this seems not possible as the installer has to be signed with appropriate profiles that only app developer has in his possession.
I'm building a Xamarin app, and, so far, I've been able to build without issue on the iPhone Simulator, but I haven't been able to get the app to launch successfully on a physical iPhone device. In the past (about a month ago), the app was working fine on the same device. Here's some background on the specifics:
I develop my Xamarin code on my Windows machine, which is linked a remote Mac (hosted by MacStadium, a third-party hosting service).
My test phone is an iPhone 5c running iOS 10.3.3
To deploy to my iPhone, I build my app in Release mode in Visual Studio, upload the code to a third-party app installation service, Installr, which hosts the IPA file and assists with the installation of my app on the physical device. I've never had an issue with Installr and have no reason to believe that this is the source of my problem.
Since the last time the app worked on the physical device, I updated Visual Studio to version 16.3.2 and updated Xamarin. Here's the Xamarin Specs:
Generally, what happens, is that I download and install my app on the iPhone without any issue. However, when I click on the app, the splash screen loads for about 5 seconds, a white screen briefly appears as follow, then the app crashes.
I've seen several related articles on StackOverflow and other sources on the internet, but none of the proposed solutions see to work for me. For example, I've tried adding [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
to App.xaml.cs with no luck.
I've also played around with changing the CSProj file settings to compile for various combinations of ARM64 and ARMv7. Changing this didn't help either. I've tried changing the linker behavior to "Don't Link" from "Link Framework SDKs Only", and I get an error message stating that the native code is too large for 32-bit architectures. I would compile for only 64-architectures to get around this error, but I believe that the iPhone 5c uses a 32-bit architecture.
Here's what my iOS Project's CSProj file looks like currently. I've tried checking just about all of those checkboxes with no luck:
I'm stumped as to what this could be. Any suggestions would be greatly appreciated. To further complicate things, I haven't been able to get a good log file from the iPhone. Since the Mac is remotely hosted, I can't plug my phone into XCode to pull the logs that way. Does anyone have a reliable solution to get log files another way?
It looks like upgrading solved the problem. Visual Studio was updated to Visual Studio to 16.3.5 from 16.3.2. XCode on my Mac was updated to Version 11.1. After these updates, Visual Studio performed an update while connecting to the Mac remotely.
I am Using CEF(Chromium Embedded frame work) in my windows application. its working fine in my machine. but after it is installed in user machine, not working. not sure which file is missing. i hope i dont want to do anything with the code as its working locally.
Getting the below error for the users
using VS2015 -
framework:4.5.2 -
cefsharp dll :51.0.0.0
I also make sure required files are there after installation see below
https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-(Redistribution)
refered below links in my case not working
CefSharp doesn't run in WIndows 7
Unable to deploy CefSharp application
https://github.com/cefsharp/CefSharp/blob/master/NuGet/Readme.txt#L16
wondering how its working in the visual studio installed system?.in few windows7 system its working and not working in same windows 7 with vs2015..???
so is there any specific thing needs to be installed on users system.
Thanks
Dev
After few research i have resolved the issue. while doing the setup project for release or installation.Apart from cefsharp dll we need to add few more supporting files explicitly.find the below images. First images is the checklist you should make sure these are added along. Second image shows how to add.
Thanks
Dev
I have just downloaded agsXMPP SDK from this link , I opend the source code and I want to build the .dll so it would work for Windows Phone, since it's made for Winforms.
So is it possible to do so? If so how can I do that?
it does not build without modifications for Windows Phone. Sockets are totally different on Windows Phone and other required namespaces are missing. This mean you have to make some major modifications to compile it for WP.
The MatriX SDK which you can download on the same page works fine on Windows Phone.
I have a WPF C# application that makes use of the InkAnalyzer class. On my development platform (Windows XP), I have added references to IACore.dll and IAWinFx.dll for the project before building the release.
However, when I tried to run this on a HP TouchSmart tablet PC (on Windows Vista), the application throws a "FileNotFoundException". Offending file name is IACore.dll.
Next, I selected the "Copy Local" option for both files, and rebuilt the application. However, once that is done, yet another file is not found. This time it is "IALoader.dll".
I realise that I must be missing something on the HP TouchSmart (on Windows Vista). Is the Vista laptop missing a SDK?
A Solution
I couldn't find IACore.msm anywhere on my SDK, and it's a recent SDK (XP Tablet PC SDK version 1.7), so I used Search to find the IALoader.dll, and manually copied it to my application's folder. No more complaints after that.
However, if there's a way for me to avoid bloating my application deployment with these files, it would be great. Thanks for your help, Jared!
Looks like this problem was encountered by a few other people as well. The basic problem is that the assembly is not installed in the GAC but in the Windows SDK directory. In order for your application to ensure it's loaded it must include the IACore.msm in the setup project or manually install the framework.
Full Thread:
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/719cbbde-013e-4165-b694-6a994d833352/